title: 通过conda安装纯净环境的R绘图合集 tags: [] id: '1561' categories:
conda create -n rplot -c conda-forge r-base=4.1.2 -y
conda activate rplot
conda install -c conda-forge r-seurat=4.1.0 -y
conda install -c conda-forge r-irkernel=1.3 -y
R
IRkernel::installspec(name='rplot', displayname='r-plot')
q()
R
cran.packages <- c("msigdbr", "dplyr", "purrr", "stringr","magrittr",
"RobustRankAggreg", "tibble", "reshape2", "ggsci",
"tidyr", "aplot", "ggfun", "ggplotify", "ggridges",
"gghalves", "Seurat", "SeuratObject", "methods",
"devtools", "BiocManager","data.table","doParallel",
"doRNG")
install.packages(cran.packages, ask = F, update = F)
bioconductor.packages <- c("GSEABase", "AUCell", "SummarizedExperiment",
"singscore", "GSVA", "ComplexHeatmap", "ggtree",
"Nebulosa")
BiocManager::install(bioconductor.packages, ask = F, update = F)
devtools::install_local('~/github_repo/UCell-master.zip')
devtools::install_local('~/github_repo/irGSEA-master.zip')