Hi,
iSMNN is a wonderful tool - thank you for making it.
I've been facing some trouble with the vignette, however.
Whenever the vignette code is run (please see this colab file for code), the following error is returned:
Finding neighborhoods for endothelial cells ...
Error in nn2(data = numeric(0), query = numeric(0), k = 31, eps = 0) :
Cannot find more nearest neighbours than there are points
Calls: <Anonymous> ... FindAnchors -> FindNN -> NNHelper -> do.call -> nn2
I'm assuming this is because the number of endothelial cells is too small in both batch1 and batch2. I've played with the k.filter parameter to try to fix this, but to no success.
So instead, I exclude endothelial cells from both the clusters.info and matched.clusters vectors, and remove the endothelial cell marker Pecam1 from the markers vector . However, when I do this (code here), I get the following error after iSMNN finds and filters the anchors for fibroblast and macrophage cells:
Error in new(Class = "AnchorSet", object.list = object.list, reference.objects = reference %||% :
trying to generate an object from a virtual class ("AnchorSet")
Calls: <Anonymous> ... <Anonymous> -> withVisible -> iSMNN -> iSMNN_FindSMNNs -> new
Is there a solution to either of these issues?
Thanks!
Hi,
iSMNN is a wonderful tool - thank you for making it.
I've been facing some trouble with the vignette, however.
Whenever the vignette code is run (please see this colab file for code), the following error is returned:
I'm assuming this is because the number of endothelial cells is too small in both batch1 and batch2. I've played with the
k.filterparameter to try to fix this, but to no success.So instead, I exclude endothelial cells from both the
clusters.infoandmatched.clustersvectors, and remove the endothelial cell marker Pecam1 from themarkersvector . However, when I do this (code here), I get the following error after iSMNN finds and filters the anchors for fibroblast and macrophage cells:Is there a solution to either of these issues?
Thanks!