1. 首先选择R 3.5.1(July)
版本 ,该版本对应的是DiffBind2.10
下载网站:Index of /bin/windows/base/old/3.5.1 (r-project.org)
https://cran.r-project.org/bin/windows/base/old/3.5.1/
2. 安装Rools,下载对应R版本的Rtools
,并安装上。
3.安装amap,
3.1下载手动安装
4. 安装diffbind
options(BioC_mirror="https://bioconductor.org")
BiocManager::install("DiffBind") #默认安装2.10
5. 安装各种缺失包, 每安装一个,根据提示安装下一个。type = "binary"
参数很牛逼,很多默认装不上的都可以安装上!!!安装不上包的要考虑BiocManager::install()
install.packages("caTools", type = "binary")
install.packages("gplots")
install.packages("locfit",type = "binary")
install.packages("rjson",type = "binary")
install.packages("latticeExtra",type = "binary")
install.packages("colorspace",type = "binary")
install.packages("utf8",type = "binary")
BiocManager::install("GO.db") #install.packages() 安装不上的要考虑BiocManager::install
install.packages("BatchJobs")
最后安装OK!
installed.packages()["DiffBind","Version"]
[1] "2.10.0"