HWEP

From Genome Analysis Wiki
Revision as of 10:58, 11 April 2013 by Atks (talk | contribs) (Created page with 'Hardy Weinberg equilibrium is expected in a panmictic population. The following formulation is a likelihood ratio test statistic that incorporates the genotype uncertainty via g…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Hardy Weinberg equilibrium is expected in a panmictic population. The following formulation is a likelihood ratio test statistic that incorporates the genotype uncertainty via genotype likelihoods. P(Rk|p) is the probability of observing the reads for individual k assuming that a locus observes HWE. P(Rk|g) is the probability of observing the reads for individual k assuming that a locus does not observe HWE. Gi,j denotes the genotype composed of alleles i and j . k indexes the individuals from 1 to N . P(Rk|Gi,j) is the genotype likelihood. P(Gi,j|p) and P(Gi,j|g) are the genotype frequencies estimated with and without HWE assumption respectively.


L(R|g)=∏kP(Rk|p)∏kP(Rk|g)=∏k∑i,jP(Rk,Gi,j|p)∏k∑i,jP(Rk,Gi,j|g)=∏k∑i,jP(Rk|Gi,j)P(Gi,j|p)∏k∑i,jP(Rk|Gi,j)P(Gi,j|g)


The likelihood ratio test statistic is as follows with v degrees of freedom where n is the number of alleles.

−2logL(R|g)∼Xv2,v=n(n−1)2

Maintained by

This page is maintained by Adrian, formulation by Hyun.