Some useful tools for cancer genome processing developed by Li lab
Using devtools
install.packages("devtools")
library(devtools)
install_github("DMU-lilab/CancerGenomics")
Manual installation
git clone https://github.com/DMU-lilab/CancerGenomics.git
install.packages("data.table") # version > 1.10.4
From the command line and in the directory where CancerGenomics github was cloned.
R CMD INSTALL CancerGenomics
如果要添加实验室的其它函数,需要 * 下载这个文件夹到本地,直接下载或者用git
git clone https://github.com/DMU-lilab/CancerGenomics.git
install.packages("roxygen2")
install.packages("devtools")
devtools::document()
生成文本,看是否有问题 Rstudio的Build - Check Package里面可以测试生成包是否有问题,有一些错误和warning可以酌情允许,还需要查看man里面的帮助文档是否有问题 使用git上传同步,需要有修改的权限,在CancerGenomics文件夹下,linux命令
git add *
git commit -m "msg" # "msg"就是为什么修改,修改了什么
git push -u origin master
这个时候输入帐号密码就可以同步了
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.