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

PVE or GVE of snp marker #22

Open
statslover123 opened this issue Dec 11, 2023 · 2 comments
Open

PVE or GVE of snp marker #22

statslover123 opened this issue Dec 11, 2023 · 2 comments

Comments

@statslover123
Copy link

Hello,

When using variable selection method on markers, how do you calculate variance explained both genetic and phenotypic of all snps? I tried to follow the example in vignette but I am getting a lower sum PEV explained of all markers than snp heritability

@YinLiLin
Copy link
Owner

Thank you for the question.
In hibayes package, the heritability of a trait is derived from dividing the genetic variance by the sum of genetic variance, residual variance, and all the environmental variance, rather than dividing the variance of original phenotype. And the PVE in GWAS study, we usually pay more attention to the contribution of a marker to the original phenotype, thus we divide it by the variance of original phenotype here. It should be noted that the sum of PVE is not comparable with the SNP heritability, because the markers are not fully independent from each other, they are in linkage disequilibrium.

@statslover123
Copy link
Author

statslover123 commented Dec 27, 2023

Thank you, how can we calculate genetic variance explained per a snp?

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