Skip to content

Error in PRSice execution: "Error in if (argv_c[[i]]) command = paste(command, " --", i, sep = "") : missing value where TRUE/FALSE needed" #367

Closed
@laiyongjie

Description

@laiyongjie

Hi,
I'm encountering an error when running PRSice-2. The command I'm using is as follows:

Rscript ~/PRsice/PRSice.R --prsice ~/PRsice/PRSice_linux --base ~/AD_gwas_clean.txt --target /home/EXTRADATA/RAW_DATA/bulk/ukb_imp_chr#_v3 --pheno ~/AD_phenotype.txt --chr Chromosome --A1 Effect_allele --snp MarkerName --A2 Non_Effect_allele --or OR --pvalue Pvalue --type bgen --keep-ambig --allow-inter --out AD_PRS

However, I get the following error message:

Error in if (argv_c[[i]]) command = paste(command, " --", i, sep = "") :
missing value where TRUE/FALSE needed
Execution halted

Details:
PRSice version: 2.3.5 (Linux)
It seems like an issue related to missing values, but I’m not sure where the problem lies.
Any help or suggestions would be appreciated!
Thanks in advance.

Activity

choishingwan

choishingwan commented on Mar 18, 2025

@choishingwan
Owner

Was this still an issue? I couldn't tell what's the problem just by this. If this is still a problem, please reopen the issue.

Sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @choishingwan@laiyongjie

      Issue actions

        Error in PRSice execution: "Error in if (argv_c[[i]]) command = paste(command, " --", i, sep = "") : missing value where TRUE/FALSE needed" · Issue #367 · choishingwan/PRSice