前言

推荐阅读

前提条件

Code
pkgs <- c(
          "gggenes",
          )

for (pkg in pkgs) {
    if (!require(pkg, character.only = TRUE)) {
        install.packages(pkg)
    }
}

biopkgs <- c("SingleCellExperiment", "Biostrings","AnnotationHub", "biomaRt","rtracklayer", "BSgenome","scuttle","scater","scran","biobroom","qvalue","DESeq2","EnhancedVolcano","clusterProfiler"
             )

for (pkg in biopkgs) {
    if (!require(pkg, character.only = TRUE)) {
        BiocManager::install(biopkgs)
    }
}