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

Questions about the effect size inflation of MTAG #218

Open
test12138jooh opened this issue Aug 7, 2024 · 9 comments
Open

Questions about the effect size inflation of MTAG #218

test12138jooh opened this issue Aug 7, 2024 · 9 comments

Comments

@test12138jooh
Copy link

test12138jooh commented Aug 7, 2024

Dear professor,
We conducted an analysis using MTAG. Overall, the correlation between the effect sizes from MTAG and the original GWAS is quite good, r=0.67; however, we found that the effect sizes of some loci have changed significantly. The previous explanation was that the effect sizes estimated by MTAG were within the confidence intervals of the original GWAS estimates.
https://github.com/JonJala/mtag/issues/209

However, we have found that many loci do not meet this criterion. Here are some examples.

RAW phenotype1 GWAS summary:beta=-0.05;SE=0.01616;P=0.001324
MTAG phenotype1 summary:beta=-0.12;SE=0011;P=2.04E-25

Thanks again.

Best,
JOOH

@paturley
Copy link
Collaborator

paturley commented Aug 7, 2024 via email

@test12138jooh
Copy link
Author

test12138jooh commented Aug 7, 2024

RAW phenotype2 GWAS summary:beta=-0.0416;SE=0.0031;P=2.296e-41

And all phenotypes have been normlized before the gwas.

Attached is the log file .
Thanks!

tmp.log

@paturley
Copy link
Collaborator

paturley commented Aug 7, 2024 via email

@test12138jooh
Copy link
Author

Thanks for your reply.

However, I am still confused. Even if, as you mentioned, MTAG will lean towards pheno2, the example data I showed indicates that the beta values for the two phenotypes are close. Yet, after applying MTAG, the beta values inflated twofold, which is higher than the effect sizes for both phenotypes in the original GWAS.

@paturley
Copy link
Collaborator

paturley commented Aug 7, 2024 via email

@test12138jooh
Copy link
Author

yeah, I have performed the z-score transformation before I ran the GWAS, so the SE phenotype is 1 and mean is 0.

@test12138jooh
Copy link
Author

test12138jooh commented Aug 7, 2024

So in this case, it looks like you have a really high powered trait 2 with a low powered trait 1 and a moderate correlation between them. So MTAG is putting a lot of weight on the trait 2 effect size. If the MTAG assumptions are satisfied, this should be fine and your results should be valid, but as we describe in the MTAG paper, in this particular case MTAG results will be shaded towards the effect sizes of the higher powered trait. You should be able to see this if you estimate the genetic correlation between the GWAS results for trait 1 and the GWAS results for trait 2 vs the MTAG results for trait 1 versus the GWAS results for trait 2. I suspect that the rg in the latter case will be much higher. (A bit higher is expected just due to the way that MTAG works, but substantially higher may be indicative of a problem.)

On Wed, Aug 7, 2024 at 10:24 AM test12138jooh @.> wrote: RAW phenotype2 GWAS summary:beta=-0.0416;SE=0.0031;P=2.296e-41 Attached is the log file . Thanks! tmp.log https://github.com/user-attachments/files/16529964/tmp.log — Reply to this email directly, view it on GitHub <#218 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBUB5IY4OYIFSJ23ZXIPLTZQIUYFAVCNFSM6AAAAABMEQBIGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZTGYYDGMRQGM . You are receiving this because you commented.Message ID: @.>

Besides, the raw gwas correlation was 0.37, and the genetic correlation of mtag result was 0.45,it seems normal? I calculated with LDSC.

@test12138jooh
Copy link
Author

test12138jooh commented Aug 11, 2024

I found a parameter "--std_beta", Should I use this in my command? I noticed you have explained it before:
SD of the phenotype per allele change (no --std_betas)
SD of the phenotype per standard deviation of the genotype (use --std_betas)

But I still fill confused about that; I think the genotype or the allele sd seems the same meanning in GWAS?Besides,I found that if I use this parameter, the beta value I got seems to get closer to the raw beta( By the way, the raw beta was from results of plink using linear association)?

  1. I also feeel confused about the purpose of using weights to adjust the beta? It seems the weights are calculated by the MAF of the variant, is it right?

Do you have any suggestions about that? Thanks!

@paturley
Copy link
Collaborator

paturley commented Aug 12, 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