Problem with including covariates in PRS analysis using PRSice
0
0
Entering edit mode
4 months ago
borenxu • 0

I am trying to use the PRSice package to calculate polygenic risk scores for samples, but when I try to include a covariate file in the analysis, an error occurs with the --cov flag in my command line. The code and the error message are as shown below.

$ Rscript PRSice.R --dir . --prsice ./PRSice_linux --base pf75.assoc.linear --target pividoripruned --pheno-file fev075.txt --no-clump --cov cov.cov --thread 1 --stat BETA --beta --binary-target F

The error is

Error in getopt_options(object, args) :

Error in getopt(spec = spec, opt = args) : long flag "cov" is ambiguous

Calls: parse_args -> parse_options -> getopt_options

Execution halted

How can I solve the problem? Your help is very much appreciated! Thank you!

SNP software error R PRSice PRS • 251 views
ADD COMMENT
0
Entering edit mode

which version are you using? I am pretty sure 2.3.3 should work with the about settings

ADD REPLY

Login before adding your answer.

Traffic: 1246 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6