Open itolov opened 1 year ago
ucell.MaxRank Maximum number of genes to rank per cell. Above this rank, a given gene is considered as not expressed. Default 1500 when it set to NULL. You can input special number, such as 2000, to increase the rank range. The parameter works if "UCell" is selected in "method".
hi developer, thank you so much for your helpful tools. I tried to use irGSEA to calculate the GO -BP geneset enrichment scores. But when I calculated the enrichment score as shown below:
skin.GO.BP <- irGSEA.score(object = skin.combined, assay = "RNA", slot = "data", seeds = 123, ncores = 1, min.cells = 3, min.feature = 0, custom = F, geneset = NULL, msigdb = T, species = "Mus musculus", category = "C5", subcategory = "GO:BP", geneid = "symbol", method = c("AUCell", "UCell", "singscore", "ssgsea"), aucell.MaxRank = NULL, ucell.MaxRank = NULL, kcdf = 'Gaussian')
the reaction was:Error in calculate_Uscore(m, features = features, maxRank = maxRank, chunk.size = chunk.size, : One or more signatures contain more genes than maxRank parameter. Increase maxRank parameter or make shorter signatures Traceback:
I am confused because I used a similar code to get the hallmark and KEGG results. Could you give me any suggestions? Or does anyone have an idea as to why this occurs?