IanevskiAleksandr / sc-type

GNU General Public License v3.0
239 stars 46 forks source link

get cell-type by cell matrix #48

Closed taha1750 closed 8 months ago

taha1750 commented 11 months ago

Hi I am trying to run the following code but it give an error. Could you please help?

get cell-type by cell matrix

es.max = sctype_score(scRNAseqData = pbmc[["RNA"]]@scale.data, scaled = TRUE, 
                      gs = gs_list$gs_positive, gs2 = gs_list$gs_negative) 

Error in sctype_score(scRNAseqData = parse[["RNA"]]@scale.data, scaled = TRUE, : no slot of name "scale.data" for this object of class "Assay5"

Thanks

taha1750 commented 11 months ago

Solved:

get cell-type by cell matrix

es.max = sctype_score(scRNAseqData = parse[["RNA"]]$scale.data, scaled = TRUE, gs = gs_list$gs_positive, gs2 = gs_list$gs_negative)

IanevskiAleksandr commented 8 months ago

Dear @taha1750 , now scType supports Seurat object v5.

Thank you. BR, Aleksandr