-
Notifications
You must be signed in to change notification settings - Fork 43
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 when using coloc 5.2.0 version #96
Comments
Thank you for the report. It is strange, because the examples seem to
work well for me. What version of susieR are you using?
…On Fri, 2022-07-08 at 01:48 -0700, JFF wrote:
Hi,
I have updated the coloc 5.2.0. However it seems like some problems
happens:
The runsusie() function failed when calculate my data which worked
well in coloc 5.1.0.
> This is coloc version 5.2.0
> running max iterations: 100
> Error in init_finalize(s) :
> Input residual variance sigma2 must be a scalar
> In addition: Warning messages:
> 1: In if (n <= 1) stop("n must be greater than 1") :
> the condition has length > 1 and only the first element will be
> used
> 2: In if (n <= 1) stop("n must be greater than 1") :
> the condition has length > 1 and only the first element will be
> used
And it seems to happened on almost all my previous data which worked
well. (I haven't test them all)
Then the examples
https://chr1swallace.github.io/coloc/articles/a06_SuSiE.html couldn't
work either
I wonder if their are some conflicts between new version susieR and
coloc, or should I update my data structure?
Thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
|
what is str(D)? Is D$N a scalar as it should be, or a vector? Is it expected that your LD matrix is not symmetric? |
Thanks, It's very helpful to me! |
I am working on the latest version of "coloc" (and thus susie I guess). The N varies from row to row for my data. What should I do with N? Thanks! |
coloc software assumes all variants have the same sample coverage, and then compares Bayes factors across different variants. If there is substantially different sample coverage between two variants, then these Bayes factors are not comparable. Imagine two variants in complete LD, one typed in all samples and the other in half the samples. They are in complete LD, so should have equal Bayes factors, but in fact the variant with higher sample coverage is likely to have a larger Bayes factor.
How variable is your N?
…________________________________
From: mocksu ***@***.***>
Sent: Friday, November 3, 2023 10:54 PM
To: chr1swallace/coloc ***@***.***>
Cc: Chris Wallace ***@***.***>; State change ***@***.***>
Subject: Re: [chr1swallace/coloc] Error when using coloc 5.2.0 version (Issue #96)
what is str(D)? Is D$N a scalar as it should be, or a vector? Is it expected that your LD matrix is not symmetric?
I am working on the latest version of "coloc" (and thus susie I guess). The N varies from row to row for my data. What should I do with N?
Thanks!
—
Reply to this email directly, view it on GitHub<#96 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAQWR2A6C6G4SWAX3PVXI33YCVY3TAVCNFSM53AHTPPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZZGMZDCMZXG44Q>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
A couple of times difference (e.g. 1,000 ~ 3,000) of the sample size. I decided to use median of the sample size to get around it. |
Hi,
I have updated the coloc 5.2.0. However it seems like some problems happens:
The runsusie() function failed when calculate my data which worked well in coloc 5.1.0.
And it seems to happened on almost all my previous data which worked well. (I haven't test them all)
Then the examples https://chr1swallace.github.io/coloc/articles/a06_SuSiE.html couldn't work either
I wonder if their are some conflicts between new version susieR and coloc, or should I update my data structure?
Thanks!
The text was updated successfully, but these errors were encountered: