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

Question about opposite BETA directions in MTAG results when changing input file order #222

Open
shaoyu-nanjing opened this issue Nov 19, 2024 · 3 comments

Comments

@shaoyu-nanjing
Copy link

Hello!

I have a question regarding the BETA directions in MTAG results when the order of input summary statistics files is swapped. Specifically:

I noticed that when I run MTAG with two traits (--sumstats A,B vs. --sumstats B,A), the BETA values for the same SNPs in the output files appear to have opposite signs.
After inspecting the results, it seems the direction of the BETA values is determined by the first input file. For example, when A is the first input file, the BETA values are consistent with the direction of effect in A. However, when B is the first input file, the BETA values appear to reverse their signs.

And I found this change does not affect the values, so I want to confirm:

Is this behavior expected in MTAG?
Does this sign change reflect a difference in the analysis, or is it solely a matter of how MTAG defines the effect allele direction based on the primary input file?
Are there any best practices to standardize the output direction for easier interpretation and downstream analysis?

Thank you for your help!

@paturley
Copy link
Collaborator

paturley commented Nov 19, 2024 via email

@shaoyu-nanjing
Copy link
Author

Thank you very much for your response! Actually we still have some additional questions:

When applying the --equal_h2 parameter, we encountered the following issue: in some cases, both the BETA values for trait1 and trait2 are positive, but after meta-analysis, they both turn negative. We are unsure if there is a specific reason to explain this or if we have misapplied this parameter. This might be a silly question, but it has indeed left us quite confused.

Thank you again for your help!

@paturley
Copy link
Collaborator

paturley commented Nov 22, 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