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

P-values of GWAS summary statistics #112

Open
koh2ng0 opened this issue Dec 24, 2024 · 4 comments
Open

P-values of GWAS summary statistics #112

koh2ng0 opened this issue Dec 24, 2024 · 4 comments

Comments

@koh2ng0
Copy link

koh2ng0 commented Dec 24, 2024

Hello,

I have downloaded the GWAS summary statistics for the 74 traits and diseases used in your analysis from Figshare. Upon reviewing the files to rerun MAGMA, I noticed that while CHISQ and Z values are present, there are no p-values for each SNP. As far as I know, p-values are necessary for accurate MAGMA calculations. Could you clarify which values you used when running MAGMA? If possible, would it be feasible to provide GWAS summary statistics that include p-values?

Thank you in advance for your assistance!

@martinjzhang
Copy link
Owner

Hi, the p-values can be computed from chi2 statistics using a chi-square test with 1 degree of freedom

@koh2ng0
Copy link
Author

koh2ng0 commented Dec 24, 2024

Thanks for your nice reply! I will try

Best regards,
Koh

@koh2ng0 koh2ng0 closed this as completed Dec 24, 2024
@koh2ng0
Copy link
Author

koh2ng0 commented Dec 24, 2024

Hi, the p-values can be computed from chi2 statistics using a chi-square test with 1 degree of freedom

I reviewed your reply and have been calculating p-values from CHISQ values. However, I noticed that for several GWAS summary statistics, CHISQ values are not provided, and only Z-scores are available (e.g., PASS_BIP_Mullins2021.sumstats). How do you think I should handle these cases?

Thank you.

@koh2ng0 koh2ng0 reopened this Dec 24, 2024
@martinjzhang
Copy link
Owner

Hi, CHISQ = Z^2

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