Closed raveancic closed 4 years ago
Never had this error. Could you provide sample data to reproduce it?
Hello,
thank you for answering me and sorry for my late reply, I pointed out the wrong error, that was the one of the compscore step, instead I get this one with comppvalue using the "StemID: nearest-neighbour mode."
Error in binom.test(x[1], N, min(1, x[2]), alternative = "g") :
'n' must be a positive integer >= 'x'
I get this with any Seurat file I am using on the pipeline above, you can download from herethe original Seurat example file I used; perhaps there is something wrong on the step I am doing.
I really thank you in advance for helping me on this, I would like to get thru this since it is fundamental to me infer the cluster with most staminality in order to start the Slingshot analysis downstream.
The package version of RaceID used is the 0.1.8.
Have a great day, Alessandro
Ok, I found the error.
Please replace
ltr <- projcells(ltr,cthr=5,nmode=TRUE,fr=TRUE, um=T, knn=3)
by
ltr <- projcells(ltr,cthr=5,nmode=TRUE, um=TRUE, knn=3)
in your code.
Don't use the fr=TRUE parameter, since you haven't calculated a Fruchterman-Rheingold force-directed layout, and you would also like to use the UMAP for the layout.
I tested the code and with this change it works for me.
Thank you Dominic, I just followed the vignette and under the "StemID: nearest-neighbour mode" section there was the fr parameter as T, so I thought it was necessary for this.
I will re-run everything without it, with the example it works. Have a nice day!
Dear all,
I am trying to run StemID on my Seurat object on which I have done both the QC needed and the clustering analysis. I am following both the answer here and the tutorial here.
Unfortunately I meet the following error when I perform the comppvalue step.
Here is all the code I am running:
Can anyone help me on this? I really thank you in advance for this, Have a great day, Alessandro