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-value for the interaction term between G*E #46

Open
hmtsao opened this issue Aug 30, 2024 · 1 comment
Open

p-value for the interaction term between G*E #46

hmtsao opened this issue Aug 30, 2024 · 1 comment

Comments

@hmtsao
Copy link

hmtsao commented Aug 30, 2024

Hi,

In the TrajGWAS documentation (https://openmendel.github.io/TrajGWAS.jl/dev/#GxE-or-other-interactions), the p-value file from jointly testing for G + G*E using the formula testformula=@formula(y ~ snp + snp & sex) includes betapval, taupval, and jointpval.

Is the betapval for the snp? How can I obtain the beta coefficient and betapval for the interaction term (snp*sex)?

Thanks!

@kose-y
Copy link
Member

kose-y commented Sep 3, 2024

Betapval is the p-value for

null hypothesis: both G and GE effect sizes are zero;
alternative hypothesis: either effect size for G or G
E is nonzero.

The default test type in this package is the score test, which only computes p-values, not the exact values of effect sizes, for efficiency. If you need the effect sizes directly, please pass the keyword argument test=:wald to the trajgwas function.

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