SingleR icon indicating copy to clipboard operation
SingleR copied to clipboard

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

Open aleferna opened this issue 9 months ago • 3 comments

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

aleferna avatar May 13 '24 12:05 aleferna

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)

LTLA avatar May 13 '24 17:05 LTLA

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

jiangldu avatar Sep 11 '24 04:09 jiangldu

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

LTLA avatar Sep 11 '24 22:09 LTLA