Drizzle-Zhang / scMAGIC

Accurately annotating scRNA-seq data using two rounds of reference-based classification
GNU General Public License v3.0
6 stars 3 forks source link

Error in exp_ref_mat when using scMAGIC to annotate cell type #3

Closed ivy-yuan closed 2 years ago

ivy-yuan commented 2 years ago

I got an error when I tried to use this tool to annotate my scRNA-seq data. The reference data used was a normalized count data frame of 25,032 genes and 10,174 cells. The target data used was a normalized count data frame of 27,581 genes and 5105 cells. Here are the details of the code and the error I encountered. How could I fix this error?

> output.scMAGIC <- scMAGIC(expr_data, liver_ref, label_ref, atlas = 'HCA') [1] "Sum single cell counts matrix:" Error in exp_ref_mat[gene_over, ] : incorrect number of dimensions

Drizzle-Zhang commented 2 years ago

The parameter “atlas” should be "HCL"