Closed sivaraja23 closed 2 years ago
See https://github.com/LTLA/SingleR/issues/145#issuecomment-692311765
test
cannot receive a Seurat object directly.
See #145 (comment)
test
cannot receive a Seurat object directly.
I just tried this method and for some reason it is giving me the same error. I am not too sure where I could have gone wrong
Is mouse.rnaseq
an SCE or a Seurat? If it's a Seurat, then you should use the same function for this ref
as well.
mouse.rnaseq is neither I believe. Its a built-in reference database from the SingleR package, its just a list of references.
Hello! I am annotating my clusters using SingleR by this following code: SeqSingleR <- SingleR(test = MergedData, ref = mouse.rnaseq, assay.type.test=1, labels = mouse.rnaseq$label.main) SeqSingleR
MergedData is a Seurat object. But when I run this code, I get this following error:
Error in
rownames<-
(*tmp*
, value = tolower(rownames(ref_data))) : attempt to set 'rownames' on an object with no dimensions