chr1swallace / coloc

Repo for the R package coloc
143 stars 44 forks source link

Summary stats of two traits are from the same dataset #137

Closed Sheeya-Dong closed 10 months ago

Sheeya-Dong commented 11 months ago

If the summary stats of two traits are from the same dataset, can coloc be used for colocalisation tests?

mocksu commented 11 months ago

Do you mean from the same sample?

Sheeya-Dong commented 11 months ago

Yes. The gwas of two traits use the same samples. And if the two gwas have overlapping samples?------------------ Original ------------------From: mocksu @.>Date: Fri,Nov 3,2023 5:40 AMTo: chr1swallace/coloc @.>Cc: Sheeya-Dong @.>, Author @.>Subject: Re: [chr1swallace/coloc] Summary stats of two traits are from thesame dataset (Issue #137) Do you mean from the same sample?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/chr1swallace/coloc/issues/137#issuecomment-1791575545", "url": "https://github.com/chr1swallace/coloc/issues/137#issuecomment-1791575545", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

mocksu commented 11 months ago

Yes. The gwas of two traits use the same samples. And if the two gwas have overlapping samples?------------------ Original ------------------From: mocksu @.>Date: Fri,Nov 3,2023 5:40 AMTo: chr1swallace/coloc @.>Cc: Sheeya-Dong @.>, Author @.>Subject: Re: [chr1swallace/coloc] Summary stats of two traits are from thesame dataset (Issue #137) Do you mean from the same sample? —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "#137 (comment)", "url": "#137 (comment)", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

My understanding is that colocalization does not strictly require independent samples. However, due to pleiotropy and other confounding factors, you need to pay attention to your study design and use other techniques such as bi-directional two sample Mendelian Randomization to further infer causality.

Sheeya-Dong commented 11 months ago

Got it! Thank you!

chr1swallace commented 11 months ago

mocksu is right, in all practical terms. Theoretically, coloc requires independent samples, because we take the product of likelihoods in each sample. However, once sample size is at least modest (a few hundred), we found this had limited practical impact on coloc inference - see supplementary of Mitchelmore et al (2020) https://academic.oup.com/nar/article/48/6/2866/5766659

-- https://chr1swallace.github.iohttps://chr1swallace.github.io/


From: Sheeya-Dong @.> Sent: Saturday, November 4, 2023 9:16 AM To: chr1swallace/coloc @.> Cc: Subscribed @.***> Subject: Re: [chr1swallace/coloc] Summary stats of two traits are from the same dataset (Issue #137)

Got it! Thank you!

— Reply to this email directly, view it on GitHubhttps://github.com/chr1swallace/coloc/issues/137#issuecomment-1793391864, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQWR2CK45BTK4WSYICY3Y3YCYBYHAVCNFSM6AAAAAA63CKPPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGM4TCOBWGQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sheeya-Dong commented 10 months ago

I got it! Thanks a lot!