Skip to content

Error in if (sum(pos1_totalscore) #1

@Borges-Vini

Description

@Borges-Vini

Hello,

After running all the steps for the example files, I am getting this error when running the PHACE.R code. I f I change the PHACE.R line 248 to (pos1_totalscore, na.rm = TRUE) >=1 && sum(pos2_totalscore, na.rm = TRUE) the code runs, but the "PHACE_Score" in the output is -1 for all the pairs. Can you help? All the intermediate files are default from your tutorial.

Rscript PHACE.R Q5SRN2
[1] 1 2
Error in if (sum(pos1_totalscore) >= 1 && sum(pos2_totalscore) >= 1 && :
missing value where TRUE/FALSE needed
Execution halted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions