coloc
coloc copied to clipboard
Error when running check_dataset
Hello,
I am constantly receiving this error once I want to check my data structure:
Error in if (min(p) > warn.minp) warning("minimum p value is: ", format.pval(min(p)), : missing value where TRUE/FALSE needed
I do not have any NAs, and my other data list is perfectly fine. I appreciate if you can give me a heads up on this.
Thank you
If beta and varbeta are provided in the dataset the pvalues are calculated as pnorm(-abs(beta/sqrt(varbeta))*2.
If varbeta is zero then NA are produced