Closed BioLaoXu closed 1 year ago
The irGSEA.integrate function is the result of a method that evaluates multiple gene sets. Unfortunately, you only used one gene set scoring method. Therefore, the irGSEA.integrate function won't do much for you. Secondly, I found that when you execute the irGSEA.score function and the output of Seurat::Assays(scRNA_gs) is only "RNA", not "RNA", "ssgsea". This prompts you that there is a problem with the execution of the irGSEA.integrate function. I recommend trying my sample data first, if the sample data can run successfully, there is no problem with the process and code. At this time, you can try to replace it with your own data to run.
thanks @chuiqin
I'm sorry that my dependency packages are not completely installed and caused this problem, and when I complete the missing dependency packages, I tested the pbmc3k data and my own data was fine.
here is my code for installing dependency packages
cran.packages <- c("aplot", "BiocManager", "data.table", "devtools", "doParallel",
"doRNG", "dplyr", "ggfun", "gghalves", "ggplot2", "ggplotify",
"ggridges", "ggsci", "irlba", "magrittr", "Matrix", "msigdbr",
"pagoda2", "pointr", "purrr", "RcppML", "readr", "reshape2",
"reticulate", "rlang", "RMTstat", "RobustRankAggreg", "roxygen2",
"Seurat", "SeuratObject", "stringr", "tibble", "tidyr", "tidyselect",
"tidytree", "VAM")
# If some packages are already installed, the installation code in the following tutorial cannot fully install all packages
# if (!requireNamespace(cran.packages, quietly = TRUE)) {
# install.packages(cran.packages, ask = F, update = F)
#}
# install packages from Bioconductor
bioconductor.packages <- c("AUCell", "BiocParallel", "ComplexHeatmap", "decoupleR", "fgsea",
"ggtree", "GSEABase", "GSVA", "Nebulosa", "scde", "singscore",
"SummarizedExperiment", "UCell", "viper")
# If some packages are already installed, the installation code in the following tutorial cannot fully install all packages
#if (!requireNamespace(bioconductor.packages, quietly = TRUE)) {
# BiocManager::install(bioconductor.packages, ask = F, update = F)
#}
# I tried to complete the required dependencies with the following installation method
install.packages(cran.packages[!pacman::p_isinstalled(cran.packages)], ask = F, update = F)
BiocManager::install(bioconductor.packages[!pacman::p_isinstalled(bioconductor.packages)], ask = F, update = F)
install.packages("doMC")
Dear team,irGSEA is a very handy tool,But I found it on my own data that it couldn't be integrated,here is my code:
irGSEA.score run was successful,However, the results were not saved in the assays slot, resulting in errors in subsequent integration analysis.Is it because which of my software versions is wrong or for some other reason?
here is my sessionInfo :