usage: split_sample.r [-h] -i input [-e event] [-t time] [-p propotion]
[-o outdir] [-n name]
The complete data set is randomly divided into training set and test set
optional arguments:
-h, --help show this help message and exit
-i input, --input input
input matrix data [required]
-e event, --event event
input event list ,default:EVENT
-t time, --time time input time list,default:TIME
-p propotion, --propotion propotion
input propotion of train set to test set,default:0.6
-o outdir, --outdir outdir
output file directory [default cwd]
-n name, --name name output file name prefix [default demo]
参数说明:
Rscript split_sample.r -i ../project/zx-20210908-381-TCGA_CHOL/01_meta/survival_time.tsv
结果展示:

如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!