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

Error in coloc.susie () #160

Open
Huiflorazhan opened this issue Apr 12, 2024 · 2 comments
Open

Error in coloc.susie () #160

Huiflorazhan opened this issue Apr 12, 2024 · 2 comments

Comments

@Huiflorazhan
Copy link

I use PLINK to generate LD matrix and then try to run coloc.susie(), but I got this error. Could you please help me with it? Thank you for your time.

susie.res <- coloc.susie(list1, list2)

Error message:

running max iterations: 100
Error in if (n <= 1) stop("n must be greater than 1") : 
  the condition has length > 1
In addition: Warning message:
In check_dataset(d, suffix, req = c("beta", "varbeta", "LD", "snp",  :
  minimum p value is: 6.673e-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 Apr 12, 2024 via email

@Huiflorazhan
Copy link
Author

I can't help unless you show me what your input data looks like

-- https://chr1swallace.github.io
________________________________ From: Huiflorazhan @.> Sent: Friday, April 12, 2024 2:52:03 AM To: chr1swallace/coloc @.> Cc: Subscribed @.> Subject: [chr1swallace/coloc] Error in coloc.susie () (Issue #160) I use PLINK to generate LD matrix and then try to run coloc.susie(), but I got this error. Could you please help me with it? Thank you for your time. susie.res <- coloc.susie(list1, list2) Error message: running max iterations: 100 Error in if (n <= 1) stop("n must be greater than 1") : the condition has length > 1 In addition: Warning message: In check_dataset(d, suffix, req = c("beta", "varbeta", "LD", "snp", : minimum p value is: 6.673e-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. — Reply to this email directly, view it on GitHub<#160>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQWR2EEGECSPMCRE4N4ENDY4444HAVCNFSM6AAAAABGDJTRG2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTQOBYG4YDSNQ. You are receiving this because you are subscribed to this thread.Message ID: @.>

The input data like this
image
image
image

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