常用R包安装命令

 if (!requireNamespace("BiocManager", quietly = TRUE))

  install.packages("BiocManager")

BiocManager::install(

c("AnnoProbe",

"stringr",

"tinyarray",

"dplyr",

"survival",

"glmnet",

"survminer",

"devtools",

"My.stepwise",

"oncoPredict",

"gtools",

"reshape2",

"ggpubr",

"future.apply",

"ggplot2",

"GenomicFeatures",

"TCGAbiolinks" ,

"TxDb.Hsapiens.UCSC.hg19.knownGene",

"org.Hs.eg.db",

"preprocessCore","sva")

)

# Install the DynNom package.

install.packages("https://cran.r-project.org/src/contrib/Archive/DynNom/DynNom_5.0.2.tar.gz", repos=NULL, type="source")

install_version("SeuratObject", version = "4.1.3",repos = "http://cran.us.r-project.org")

devtools::install_github("cran/DynNom")

加载R包

> library(AnnoProbe)

> library(stringr)

> library(tinyarray)

> library(dplyr)

> library(survival)

> library(glmnet)

> library(survminer)

> library(My.stepwise)

> library(oncoPredict)

> library(GenomicFeatures)

> library(gtools)

> library(reshape2)

> library(ggpubr)

> library(future.apply)

> library(TCGAbiolinks)

> library(ggplot2)

> library(TxDb.Hsapiens.UCSC.hg19.knownGene)

> library(org.Hs.eg.db)

> library(preprocessCore)

> library(sva)

> library(DynNom)

如若转载,请注明出处:https://www.ouq.net/2952.html

(0)
打赏 微信打赏,为服务器增加50M流量 微信打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量
上一篇 06/29/2024 23:21
下一篇 06/30/2024 00:10

相关推荐

  • ggplot2绘图教程

    直方图:geom_histogram 分组直方图的排列方式 position=”dodge” ggplot(small)+geom_histogram(aes(x=price, fill=cut), position=”dodge”) ht…

    03/07/2022
    146
  • SCENIC:cisTarget databases数据库下载

    List of databases for the cisTarget family of tools (e.g. RcisTarget, SCENIC/pySCENIC, and cisTopic). To choose the data…

    R 03/21/2022
    478
  • had non-zero exit status

    解决方案1:install.packages(‘*package_name’, dependencies = TRUE)

    Python 11/07/2020
    144
  • 安装Seurat-data包

    SeuratData 是一种利用 R 的内部软件包和数据管理系统以 Seurat 对象形式分发数据集的机制。它为用户访问 Seurat 小节中使用的数据集提供了一种简便的方法。安装: 1.安装devtools: install.packag…

    R 01/03/2024
    311
  • R:circos.heatmap-绘制环形热图包

    The circos.heatmap() function Circular heatmaps are pretty. With circlize package, it is possible to implement circular …

    01/04/2024
    466