Hierarchical annotation of immune cells in scRNA-Seq data based on ssGSEA algorithm. Fork for large datasets with QOL improvements.

Update scImmuCC_main.R

authored by Yingjiang17 and committed by GitHub 420e1e05 2a7ffd5b

Changed files
+14 -2
R
+14 -2
R/scImmuCC_main.R
··· 16 16 17 17 genelist <- as.list(genematrix) 18 18 genelist <- lapply(genelist,function(x) x[!is.na(x)]) 19 - 20 - ssgsea_score = gsva(count, genelist, method = "ssgsea", ssgsea.norm = TRUE, verbose = TRUE) # signature 'matrix,list' 19 + 20 + ssgsea <- ssgseaParam( 21 + count, 22 + genelist, 23 + assay = NA_character_, 24 + annotation = NA_character_, 25 + minSize = 1, 26 + maxSize = Inf, 27 + alpha = 0.25, 28 + normalize = TRUE 29 + ) 30 + 31 + ssgsea_score <- gsva(ssgsea) 32 + ##ssgsea_score = gsva(count, genelist, method = "ssgsea", ssgsea.norm = TRUE, verbose = TRUE) # signature 'matrix,list' 21 33 score <- t(ssgsea_score) 22 34 23 35 barcodes <- c()