Entering edit mode
22 months ago
J
▴
20
I have been getting the following error using the most recent version of coloc:
Error in if (min(p) > warn.minp) warning("minimum p value is: ", format.pval(min(p)), :
missing value where TRUE/FALSE needed
I have checked the datasets and have confirmed that there are no missing entries for p-values in my dataset, or any other variable for that matter. I got no such errors with other eQTL data that I was using. I am at a loss and could use any advice.
Cannot help with the tool but the error appears if inside an if condition you compare elements and one is NA, for example
Here that means either
min(p)
orwarn.minp
is NA. If this is on GitHub maybe try and open an issue, things like that should be detected up front before such an error comes up I guess.I'm having the same problem. Did you find an answer?
I'm running into the same exact problem as well. Did you happen to find a solution? Thanks.