SingleR-inc / SingleR

Clone of the Bioconductor repository for the SingleR package.
https://bioconductor.org/packages/devel/bioc/html/SingleR.html
GNU General Public License v3.0
178 stars 19 forks source link

Error in is.null(rownames(x)) && nrow(x) : invalid 'y' type in 'x && y' only on ImmGen data. #269

Open aleferna opened 6 months ago

aleferna commented 6 months ago

Strange when I try to use the ImmGen dataset I get that error message but not for the others.

LTLA commented 6 months ago

Please create a minimum reproducible example. For example, the code below works fine for me.

library(celldex)
ig <- ImmGenData()

library(scRNAseq)
test <- PaulHSCData()

library(SingleR)
res <- SingleR(test=test, ref=ig, labels=ig$label.main, assay.type.test=1)
jiangldu commented 2 months ago

i got the same error when i used the ImmGen dataset, but others in celldex package were ok. Have you been solved it?

LTLA commented 2 months ago

I'm not convinced that this is my problem until I see an MRE.