Problem with including covariates in PRS analysis using PRSice
1
0
Entering edit mode
3.2 years 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 • 1.6k 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
0
Entering edit mode
19 months ago
2795462813 • 0

I have the same problem like this. I want to ask how to sovle the problem.

ADD COMMENT
0
Entering edit mode

Use the latest version should solve that

ADD REPLY

Login before adding your answer.

Traffic: 2998 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