Open hjames1 opened 2 years ago
Hi,I'm afraid there is a small bug in the sc.metabolism.Seurat function.
sc.metabolism.Seurat
if (method == "ssGSEA") { library(GSVA) library(GSEABase) geneSets <- getGmt(gmtFile) gsva_es <- gsva(as.matrix(countexp2), geneSets, method = c("ssgsea"), kcdf = c("Poisson"), parallel.sz = ncores) signature_exp <- data.frame(gsva_es) } if (method == "ssGSEA") { library(GSVA) library(GSEABase) geneSets <- getGmt(gmtFile) gsva_es <- gsva(as.matrix(countexp2), geneSets, method = c("gsva"), kcdf = c("Poisson"), parallel.sz = ncores) signature_exp <- data.frame(gsva_es) }
The second method == "ssGSEA"should be replaced by method =="gsva"
method == "ssGSEA"
method =="gsva"
Hi,I'm afraid there is a small bug in the
sc.metabolism.Seurat
function.The second
method == "ssGSEA"
should be replaced bymethod =="gsva"