airwayR包报错
本来做chip-seq的时候,需要下载所有依赖R包
但是在下载airway这个包的时候出现了报错error reading from connection
原因如下()
options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor/") options("repos"=c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
选择镜像的时候尽量去除http后面的s
后续所有R包的安装免费分享给大家
options(BioC_mirror="http://mirrors.tuna.tsinghua.edu.cn/bioconductor/") options("repos"=c(CRAN="http://mirrors.tuna.tsinghua.edu.cn/CRAN/")) install.packages("devtools") library(devtools) BiocManager::install BiocManager::install(c('airway','DESeq2','edgeR','limma')) BiocManager::install(c('ChIPpeakAnno','ChIPseeker')) BiocManager::install('TxDb.Hsapiens.UCSC.hg19.knownGene', ask=F,suppressUpdates=T) BiocManager::install('TxDb.Hsapiens.UCSC.hg38.knownGene', ask=F,suppressUpdates=T) BiocManager::install('TxDb.Mmusculus.UCSC.mm10.knownGene', ask=F,suppressUpdates=T) library(TxDb.Hsapiens.UCSC.hg19.knownGene) library(TxDb.Mmusculus.UCSC.mm10.knownGene) library(TxDb.Hsapiens.UCSC.hg38.knownGene) library(ChIPpeakAnno) library(ChIPseeker)