dviraran / SingleR

SingleR: Single-cell RNA-seq cell types Recognition (legacy version)
GNU General Public License v3.0
271 stars 98 forks source link

dimnames error in CreateSinglerObject #42

Open z5ouyang opened 5 years ago

z5ouyang commented 5 years ago

Thanks for developing this tools. I am following the case 2. by providing the member of the Seurat object (X): Do you have any suggestion?

singler <- CreateSinglerObject(as.matrix(X@raw.data), annot = NULL, project.name="Lung10X",min.genes = 0,

z5ouyang commented 5 years ago

After many tries, it seems like the parameter "clusters" can NOT be NULL, I provide the Seurat "X@ident" to "clusters", then it successfully complete. Guess it is a temporal solution.

dviraran commented 5 years ago

Thanks for sharing this. I am not sure where the issue comes from since it seems it was able to use the SingleR clusters in both references, and the error comes only later. However, there is no use of clusters afterward in the code.