Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue for minimum p value #180

Open
LidaWangPSU opened this issue Nov 29, 2024 · 3 comments
Open

Issue for minimum p value #180

LidaWangPSU opened this issue Nov 29, 2024 · 3 comments

Comments

@LidaWangPSU
Copy link

LidaWangPSU commented Nov 29, 2024

Hi there,

I was wondering why coloc.abf doesn't work well for me if the min pvalue is not small enough. Here is what I got;

The warning will turn into error and then it couldn't run properly.

coloc.abf(dataset1,dataset2)
Error in check_dataset(d = dataset1, 1) : (converted from warning) minimum p value is: 2.1471e-05 If this is what you expected, this is not a problem. If this is not as small as you expected, please check you supplied var(beta) and not sd(beta) for the varbeta argument. If that's not the explanation, please check the 02_data vignette.

It is the same for check_dataset() function

check_dataset(d = dataset1, 1)
Error in check_dataset(d = dataset1, 1) :
(converted from warning) minimum p value is: 2.1471e-05
If this is what you expected, this is not a problem.
If this is not as small as you expected, please check you supplied var(beta) and not sd(beta) for the varbeta argument. If that's not the explanation, please check the 02_data vignette.

But when I add warn.minp, it works well

check_dataset(d = dataset1, 1,warn.minp=1e-4)
NULL

while coloc.abf still return error

coloc.abf(dataset1,dataset2,warn.minp=1e-4)
Error in check_dataset(d = dataset1, 1) :
(converted from warning) minimum p value is: 2.1471e-05 If this is what you expected, this is not a problem. If this is not as small as you expected, please check you supplied var(beta) and not sd(beta) for the varbeta argument. If that's not the explanation, please check the 02_data vignette.

@chr1swallace
Copy link
Owner

chr1swallace commented Nov 29, 2024 via email

@LidaWangPSU
Copy link
Author

It shows error on my end and I could not figure why.

Best, Lida

@chr1swallace
Copy link
Owner

chr1swallace commented Dec 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants