oncoPredict包进行药物敏感性预测
安装包
- conda create -n oncoPredict -c conda-forge r-base=4.1.3
- conda activate oncoPredict
- conda install -c conda-forge r-tidyverse -y
- conda install -c conda-forge r-irkernel -y
- Rscript -e “IRkernel::installspec(name=’oncoPredict’, displayname=’r-oncoPredict’)”
- conda install -c conda-forge r-nloptr -y
- conda install -c conda-forge r-lme4 -y
- conda install -c conda-forge r-pbkrtest -y
- conda install -c conda-forge r-car -y
- conda install -c conda-forge r-biocmanager -y
- conda install -c conda-forge r-ggpubr -y
- conda install -c bioconda bioconductor-maftools -y
- BiocManager::install(‘oncoPredict’)
- 从oncoPredict作者提供的地址下载整理好的CTRP和GDSC,生信技能树的介绍。镜像
- unzip DataFiles.zip
读入训练数据
1 |
|
读入预测数据
1 |
|
进行预测
1 |
|
- save(CTRP2, GDSC2_Res, tpm, file = ‘oncoPredict_calcPhenotype.rdata’)
- nano oncoPredict_calcPhenotype.R
- conda activate oncoPredict
- Rscript ./oncoPredict_calcPhenotype.R –max-ppsize=500000
预测结果可视化
读入预测结果
1 |
|
贴上分组
1 |
|
绘图
1 |
|
oncoPredict包进行药物敏感性预测
https://b.limour.top/2005.html