sumstat <- read.table("TOY_BASE_GWAS.assoc", header=T)head(sumstat)R -q --file=./PRSice_v1.25.R --args \
base TOY_BASE_GWAS.assoc \
target TOY_TARGET_DATA \
slower 0 \
supper 0.5 \
sinc 0.01 \
covary F \
clump.snps F \
plink ./plink_1.9_mac_160914 \
fig name EXAMPLE_1
On the terminal instead.
On a side note, please make sure it is "\" instead of "\ " The space will make all the difference.
R -q --file=./PRSice_v1.25.R --args base TOY_BASE_GWAS.assoc target TOY_TARGET_DATA slower 0 supper 0.5 sinc 0.01 covary F clump.snps F plink ./plink_1.9_mac_160914
I have typed everything in one line.
It worked. No error messages.
I can not find the output files in working directory. That is the problem now.