参考文章:https://software.broadinstitute.org/cancer/cga/absolute_run
首先要下载ABSOLUTE以及安装依赖包 numDeriv
install.packages("numDeriv")
然后使用命令行安装ABSOLUTE
R CMD INSTALL /home/usr/Downloads/ABSOLUTE_1.0.6.tar.gz
If you're using HAPSEG as your input, you will also need to install the HAPSEG package supplied in the release bundle.
R CMD INSTALL /home/usr/Downloads/HAPSEG_1.1.1.tar.gz
如果在安装HAPSEG时出现报错:RROR: dependencies ‘geneplotter’, ‘DNAcopy’ are not available for package ‘HAPSEG’。可以先安装这些依赖包。‘geneplotter’以及‘DNAcopy’需要使用biocManager安装。
首先在R中安装biocManager
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install()
在此过程中如遇到的问题:
Rstudio-server安装bioconductor遇到问题:“installation path not writeable, unable to up”
解决方法:打开终端 sudo R,然后在终端的R界面中进行安装。