wu-yc / scMetabolism

Quantifying metabolism activity at the single-cell resolution
BSD 3-Clause "New" or "Revised" License
110 stars 43 forks source link

Errors when running sc.metabolism.Seurat using ssgsea/gsea #9

Closed Jonathanyu2014 closed 2 years ago

Jonathanyu2014 commented 2 years ago

When I ran sc.metabolism.Seurat with method ssgsea or gsea (), there was an error as follows:

Error in sc.metabolism.Seurat(obj = countexp.Seurat, method = "gsea", : object 'signature_exp' not found

I don't know what 'signature_exp' mean. Does anybody find a solution?

Jonathanyu2014 commented 2 years ago

I find the bug. In function 'sc.metabolism.Seurat' , line 55, 'ssgsea' should be replaced with 'gsva'.