Hardy–Weinberg principle: Difference between revisions
reformat for better consistency; redid some formulas for clarity |
|||
Line 367: | Line 367: | ||
</math> |
</math> |
||
for generations after the first. |
for generations after the first. |
||
Now to prove Hardy's statement: the successor generation's proportions equal, <math>\textstyle p:2q:r = p_1:2q_1:r_1</math>, if and only if the equivalence condition <math>\textstyle q^2 = pr</math> holds. |
|||
⚫ | |||
If <math>\textstyle p:2q:r = p_1:2q_1:r_1</math>, then |
|||
:{{nowrap|<math>\begin{align}q^2 &= q_1^2\\ |
|||
&= \left[\left(p + q\right) \left(q + r\right)\right]^2\\ |
|||
&= \left(p + q\right)^2 \left(q + r\right)^2\\ |
|||
&= p_1 r_1\\ |
|||
&= p r\end{align}</math>,}} |
|||
so the equivalence condition holds. |
|||
This shows equal proportions imply the equivalence condition. |
|||
Now suppose the equivalence condition <math>\textstyle q^2 = pr</math> holds. |
|||
⚫ | |||
\begin{align} |
\begin{align} |
||
p &= p \left(p + 2 q + r\right)\\ |
|||
& |
&= p^2 + 2 p q + p r\\ |
||
&= p^2 + 2 p q + q^2\\ |
|||
&= \left(p + q\right)^2\\ |
|||
&= p_1 |
|||
\end{align} |
\end{align} |
||
</math> |
</math> |
||
By symmetry, <math>r = r_1</math>. |
|||
Finally, |
|||
⚫ | |||
\begin{align} |
|||
q &= q \left(p + 2 q + r\right)\\ |
|||
&= q p + 2 q^2 + q r\\ |
|||
&= q^2 + q (p + r) + q^2\\ |
|||
&= q^2 + q (p + r) + p r\\ |
|||
&= \left(p + q\right) \left(q + r\right)\\ |
|||
&= q_1 |
|||
\end{align} |
|||
⚫ | |||
This shows <math>\textstyle p = p_1</math>, <math>\textstyle q = q_1</math>, and <math>\textstyle r = r_1</math>. |
|||
Thus, proportions <math>\textstyle p:2q:r = p_1:2q_1:r_1</math> equal. |
|||
This shows the equivalence condition implies the proportions equal. |
|||
Therefore, the proportions equal if and only if the equivalence condition holds, as was claimed. |
|||
Since the equivalence condition always holds for the second generation, all succeeding generations have the same proportions. |
|||
Substituting for ''p''<sub>1</sub> and ''q''<sub>1</sub> and factoring out (''p'' + ''q'')<sup>2</sup> yields, |
|||
⚫ | |||
p_2 = (p + q)^2 [(p + q)^2 + 2(p + q)(q + r) + (q + r)^2 ] |
|||
⚫ | |||
The quantity in brackets is equal to 1, therefore, ''p''<sub>2</sub> = ''p''<sub>1</sub> and will remain so for succeeding generations. The result will be the same for the other two genotypes. |
|||
===Numerical example=== |
===Numerical example=== |
Revision as of 11:50, 4 June 2013
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
The Hardy–Weinberg principle (also known as the Hardy–Weinberg equilibrium, model, theorem, or law) states that allele and genotype frequencies in a population will remain constant from generation to generation in the absence of other evolutionary influences. These influences include non-random mating, mutation, selection, genetic drift, gene flow and meiotic drive. Because one or more of these influences are typically present in real populations, the Hardy–Weinberg principle describes an ideal condition against which the effects of these influences can be analyzed.
In the simplest case of a single locus with two alleles denoted A and a with frequencies f(A) = p and f(a) = q, respectively, the expected genotype frequencies are f(AA) = p2 for the AA homozygotes, f(aa) = q2 for the aa homozygotes, and f(Aa) = 2pq for the heterozygotes. The genotype proportions p2, 2pq, and q2 are called the Hardy-Weinberg proportions. [Note that p + q = (p + q)2 = p2 + 2pq + q2 = 1].
If union of gametes to produce the next generation is random, it can be shown that the new frequency f′ satisfies and . That is, allele frequencies are constant between generations.
This principle was named after G. H. Hardy and Wilhelm Weinberg, who first demonstrated it mathematically.
Derivation
Consider a population of monoecious diploids [each organism produces male and female gametes at equal frequency, and has two alleles at each gene locus]. Organisms reproduce by random union of gametes (the “gene pool” population model). A locus in this population has two alleles, A and a, that occur at frequencies f(A) = p and f(a) = q, respectively. The different ways to form new genotypes can be shown in a Punnett square, where the proportion of each is equal to the product of the row and column allele frequencies.
Females | |||
---|---|---|---|
A (p) | a (q) | ||
Males | A (p) | AA (p2) | Aa (pq) |
a (q) | Aa (qp) | aa (q2) |
The sum of the entries is p2 + 2pq + q2 = 1, as the genotype frequencies for an infinite population size) must sum to one.
Note again that as p + q = 1, the binomial expansion of (p + q)2 = p2 + 2pq + q2 + 1 gives the same relationships.
Summing the elements of the Punnet square or the binomial expansion, the expected genotype proportions among the offspring become:
(1) |
(2) |
(3) |
These frequencies are called the Hardy–Weinberg proportions.
In the following generation, the frequency of either allele is determined by its expected contribution from the homozygote and heterozygote genotypes, which are 1 and 1/2, respectively, for either allele. Then, the allele frequencies f′ from the frequencies f of parental genotypes weighted by the expected contribution is
(4) |
(5) |
that is, and and allele frequencies remain constant after one generation of random union of gametes in an infinite population.
For the more general case of dioecious diploids [organisms are either male or female] that reproduce by random mating of individuals, it is necessary to calculate the genotype frequencies f′ from the nine possible matings between each parental genotype (AA, Aa, and aa) in either sex, weighted by the expected genotype contributions of each such mating. Then it can be shown[1] from equations (1‒3) and (4‒5)
from which allele frequencies may be calculated as above. As before, allele frequencies remain constant after one generation of random mating between separate sexes.
If in either monoecious or dioecious organisms, either the allele or genotype proportions are initially unequal in either sex, it can be shown that constant proportions are obtained after one generation of random mating. If dioecious organisms are heterogametic and the gene locus is located on the X chromosome, it can be shown that if the allele frequencies are initially unequal in the two sexes [e.g., XX females and XY males, as in humans], f′(a) in the heterogametic sex ‘chases’ f(a) in the homogametic sex of the previous generation, until an equilibrium is reached at the weighted average of the two initial frequencies.
Deviations from Hardy–Weinberg equilibrium
The seven assumptions underlying Hardy–Weinberg equilibrium are as follows:[2]
- organisms are diploid
- only sexual reproduction occurs
- generations are non overlapping
- mating is random
- population size is infinitely large
- allele frequencies are equal in the sexes
- there is no migration, mutation or selection
Violations of the Hardy–Weinberg assumptions can cause deviations from expectation. How this affects the population depends on the assumptions that are violated.
- Random mating. The HWP states the population will have the given genotypic frequencies (called Hardy–Weinberg proportions) after a single generation of random mating within the population. When the random mating assumption is violated, the population will not have Hardy–Weinberg proportions. A common cause of non-random mating is inbreeding, which causes an increase in homozygosity for all genes.
If a population violates one of the following four assumptions, the population may continue to have Hardy–Weinberg proportions each generation, but the allele frequencies will change over time.
- Selection, in general, causes allele frequencies to change, often quite rapidly. While directional selection eventually leads to the loss of all alleles except the favored one, some forms of selection, such as balancing selection, lead to equilibrium without loss of alleles.
- Mutation will have a very subtle effect on allele frequencies. Mutation rates are of the order 10−4 to 10−8, and the change in allele frequency will be, at most, the same order. Recurrent mutation will maintain alleles in the population, even if there is strong selection against them.
- Migration genetically links two or more populations together. In general, allele frequencies will become more homogeneous among the populations. Some models for migration inherently include nonrandom mating (Wahlund effect, for example). For those models, the Hardy–Weinberg proportions will normally not be valid.
- Small population size can cause a random change in allele frequencies. This is due to a sampling effect, and is called genetic drift. Sampling effects are most important when the allele is present in a small number of copies.
Sex linkage
Where the A gene is sex linked, the heterogametic sex (e.g., mammalian males; avian females) have only one copy of the gene (and are termed hemizygous), while the homogametic sex (e.g., human females) have two copies. The genotype frequencies at equilibrium are p and q for the heterogametic sex but p2, 2pq and q2 for the homogametic sex.
For example, in humans red–green colorblindness is an X-linked recessive trait. In western European males, the trait affects about 1 in 12, (q = 0.083) whereas it affects about 1 in 200 females (0.005, compared to q2 = 0.007), very close to Hardy–Weinberg proportions.
If a population is brought together with males and females with a different allele frequency in each subpopulation (males or females), the allele frequency of the male population in the next generation will follow that of the female population because each son receives its X chromosome from its mother. The population converges on equilibrium very quickly.
Generalizations
The simple derivation above can be generalized for more than two alleles and polyploidy.
Generalization for more than two alleles
Consider an extra allele frequency, r. The two-allele case is the binomial expansion of (p + q)2, and thus the three-allele case is the trinomial expansion of (p + q+ r)2.
More generally, consider the alleles A1, ..., Ai given by the allele frequencies p1 to pi;
giving for all homozygotes:
and for all heterozygotes:
Generalization for polyploidy
The Hardy–Weinberg principle may also be generalized to polyploid systems, that is, for organisms that have more than two copies of each chromosome. Consider again only two alleles. The diploid case is the binomial expansion of:
and therefore the polyploid case is the polynomial expansion of:
where c is the ploidy, for example with tetraploid (c = 4):
Genotype | Frequency |
---|---|
AAAA | |
AAAa | |
AAaa | |
Aaaa | |
aaaa |
Depending on whether the organism is a 'true' tetraploid or an amphidiploid will determine how long it will take for the population to reach Hardy–Weinberg equilibrium.
Complete generalization
For distinct alleles in -ploids, the genotype frequencies in the Hardy–Weinberg equilibrium are given by individual terms in the multinomial expansion of :
Applications
The Hardy–Weinberg principle may be applied in two ways, either a population is assumed to be in Hardy–Weinberg proportions, in which the genotype frequencies can be calculated, or if the genotype frequencies of all three genotypes are known, they can be tested for deviations that are statistically significant.
Application to cases of complete dominance
Suppose that the phenotypes of AA and Aa are indistinguishable, i.e., there is complete dominance. Assuming that the Hardy–Weinberg principle applies to the population, then can still be calculated from f(aa):
and can be calculated from . And thus an estimate of f(AA) and f(Aa) derived from and respectively. Note however, such a population cannot be tested for equilibrium using the significance tests below because it is assumed a priori.
Significance tests for deviation
Testing deviation from the HWP is generally performed using Pearson's chi-squared test, using the observed genotype frequencies obtained from the data and the expected genotype frequencies obtained using the HWP. For systems where there are large numbers of alleles, this may result in data with many empty possible genotypes and low genotype counts, because there are often not enough individuals present in the sample to adequately represent all genotype classes. If this is the case, then the asymptotic assumption of the chi-squared distribution, will no longer hold, and it may be necessary to use a form of Fisher's exact test, which requires a computer to solve. More recently a number of MCMC methods of testing for deviations from HWP have been proposed (Guo & Thompson, 1992; Wigginton et al. 2005)
Example χ2 test for deviation
This data is from E.B. Ford (1971) on the Scarlet tiger moth, for which the phenotypes of a sample of the population were recorded. Genotype-phenotype distinction is assumed to be negligibly small. The null hypothesis is that the population is in Hardy–Weinberg proportions, and the alternative hypothesis is that the population is not in Hardy–Weinberg proportions.
Phenotype | White-spotted (AA) | Intermediate (Aa) | Little spotting (aa) | Total |
---|---|---|---|---|
Number | 1469 | 138 | 5 | 1612 |
From which allele frequencies can be calculated:
and
So the Hardy–Weinberg expectation is:
Pearson's chi-squared test states:
There is 1 degree of freedom (degrees of freedom for test for Hardy–Weinberg proportions are # genotypes − # alleles). The 5% significance level for 1 degree of freedom is 3.84, and since the χ2 value is less than this, the null hypothesis that the population is in Hardy–Weinberg frequencies is not rejected.
Fisher's exact test (probability test)
Fisher's exact test can be applied to testing for Hardy–Weinberg proportions. Since the test is conditional on the allele frequencies, p and q, the problem can be viewed as testing for the proper number of heterozygotes. In this way, the hypothesis of Hardy–Weinberg proportions is rejected if the number of heterozygotes is too large or too small. The conditional probabilities for the heterozygote, given the allele frequencies are given in Emigh (1980) as
where n11, n12, n22 are the observed numbers of the three genotypes, AA, Aa, and aa, respectively, and n1 is the number of A alleles, where .
An example Using one of the examples from Emigh (1980),[3] we can consider the case where n = 100, and p = 0.34. The possible observed heterozygotes and their exact significance level is given in Table 4.
Number of heterozygotes | Significance level |
---|---|
0 | 0.000 |
2 | 0.000 |
4 | 0.000 |
6 | 0.000 |
8 | 0.000 |
10 | 0.000 |
12 | 0.000 |
14 | 0.000 |
16 | 0.000 |
18 | 0.001 |
20 | 0.007 |
22 | 0.034 |
24 | 0.067 |
26 | 0.151 |
28 | 0.291 |
30 | 0.474 |
32 | 0.730 |
34 | 1.000 |
Using this table, one must look up the significance level of the test based on the observed number of heterozygotes. For example, if one observed 20 heterozygotes, the significance level for the test is 0.007. As is typical for Fisher's exact test for small samples, the gradation of significance levels is quite coarse.
However, a table like this has to be created for every experiment, since the tables are dependent on both n and p.
Inbreeding coefficient
The inbreeding coefficient, F (see also F-statistics), is one minus the observed frequency of heterozygotes over that expected from Hardy–Weinberg equilibrium.
- ,
where the expected value from Hardy–Weinberg equilibrium is given by
For example, for Ford's data above;
- .
For two alleles, the chi-squared goodness of fit test for Hardy–Weinberg proportions is equivalent to the test for inbreeding, F = 0.
The inbreeding coefficient is unstable as the expected value approaches zero, and thus not useful for rare and very common alleles. For: E = 0, O > 0, F = −∞ and E = 0, O = 0, F is undefined.
History
Mendelian genetics were rediscovered in 1900. However, it remained somewhat controversial for several years as it was not then known how it could cause continuous characteristics. Udny Yule (1902) argued against Mendelism because he thought that dominant alleles would increase in the population. The American William E. Castle (1903) showed that without selection, the genotype frequencies would remain stable. Karl Pearson (1903) found one equilibrium position with values of p = q = 0.5. Reginald Punnett, unable to counter Yule's point, introduced the problem to G. H. Hardy, a British mathematician, with whom he played cricket. Hardy was a pure mathematician and held applied mathematics in some contempt; his view of biologists' use of mathematics comes across in his 1908 paper where he describes this as "very simple".
- To the Editor of Science: I am reluctant to intrude in a discussion concerning matters of which I have no expert knowledge, and I should have expected the very simple point which I wish to make to have been familiar to biologists. However, some remarks of Mr. Udny Yule, to which Mr. R. C. Punnett has called my attention, suggest that it may still be worth making...
- Suppose that Aa is a pair of Mendelian characters, A being dominant, and that in any given generation the number of pure dominants (AA), heterozygotes (Aa), and pure recessives (aa) are as p:2q:r. Finally, suppose that the numbers are fairly large, so that mating may be regarded as random, that the sexes are evenly distributed among the three varieties, and that all are equally fertile. A little mathematics of the multiplication-table type is enough to show that in the next generation the numbers will be as (p+q)2:2(p+q)(q+r):(q+r)2, or as p1:2q1:r1, say.
- The interesting question is — in what circumstances will this distribution be the same as that in the generation before? It is easy to see that the condition for this is q2 = pr. And since q12 = p1r1, whatever the values of p, q, and r may be, the distribution will in any case continue unchanged after the second generation
The principle was thus known as Hardy's law in the English-speaking world until 1943, when Curt Stern pointed out that it had first been formulated independently in 1908 by the German physician Wilhelm Weinberg.[4][5] William Castle in 1903 also derived the ratios for the special case of equal allele frequencies, and it is sometimes (but rarely) called the Hardy–Weinberg–Castle Law.
Derivation of Hardy's equations
The derivation of Hardy's equations is illustrative. He begins with a population of genotypes consisting of pure dominants (AA), heterozygotes (Aa), and pure recessives (aa) in the relative proportions p:2q:r with the conditions noted above, that is,
- .
Rewriting this as (p + q) + (q + r) = 1 and squaring both sides yields Hardy’s result:
Hardy’s equivalence condition is
for generations after the first.
Now to prove Hardy's statement: the successor generation's proportions equal, , if and only if the equivalence condition holds. If , then
- ,
so the equivalence condition holds. This shows equal proportions imply the equivalence condition. Now suppose the equivalence condition holds.
By symmetry, . Finally,
- .
This shows , , and . Thus, proportions equal. This shows the equivalence condition implies the proportions equal. Therefore, the proportions equal if and only if the equivalence condition holds, as was claimed.
Since the equivalence condition always holds for the second generation, all succeeding generations have the same proportions.
Numerical example
An example computation of the genotype distribution given by Hardy's original equations is instructive. The phenotype distribution from Table 3 above will be used to compute Hardy's initial genotype distribution. Note that the p and q values used by Hardy are not the same as those used above.
As checks on the distribution, compute
and
For the next generation, Hardy's equations give,
Again as checks on the distribution, compute
and
which are the expected values. The reader may demonstrate that subsequent use of the second-generation values for a third generation will yield identical results.
Graphical representation
It is possible to represent the distribution of genotype frequencies for a bi-allelic locus within a population graphically using a de Finetti diagram. This uses a triangular plot (also known as trilinear, triaxial or ternary plot) to represent the distribution of the three genotype frequencies in relation to each other. Although it differs from many other such plots in that the direction of one of the axes has been reversed.
The curved line in the above diagram is the Hardy–Weinberg parabola and represents the state where alleles are in Hardy–Weinberg equilibrium.
It is possible to represent the effects of Natural Selection and its effect on allele frequency on such graphs (e.g. Ineichen & Batschelet 1975)
The de Finetti diagram has been developed and used extensively by A. W. F. Edwards in his book Foundations of Mathematical Genetics.
References
- ^ http://www.mun.ca/biology/scarr/2900_HW_for_dioecious.html
- ^ Hartl DL, Clarke AG (2007) Principles of population genetics. Sunderland, MA: Sinauer
- ^ a b Emigh, Ted H. (1980). "A Comparison of Tests for Hardy–Weinberg Equilibrium". Biometrics. 36 (4): 627–642. doi:10.2307/2556115. JSTOR 2556115.
- ^ Crow, James F. (1999). "Hardy, Weinberg and language impediments". Genetics. 152 (3): 821–825. PMC 1460671. PMID 10388804.
- ^ Stern, Curt (1962). "Wilhelm Weinberg". Genetics. 47: 1–5.
- Castle, W. E. (1903). "The laws of Galton and Mendel and some laws governing race improvement by selection". Proc. Amer. Acad. Arts Sci. 35: 233–242.
- Crow, Jf (1999). "Hardy, Weinberg and language impediments". Genetics. 152 (3): 821–5. ISSN 0016-6731. PMC 1460671. PMID 10388804.
{{cite journal}}
: Unknown parameter|month=
ignored (help) - Edwards, A.W.F. 1977. Foundations of Mathematical Genetics. Cambridge University Press, Cambridge (2nd ed., 2000). ISBN 0-521-77544-2
- Emigh, T.H. (1980). "A comparison of tests for Hardy–Weinberg equilibrium". Biometrics. 36 (4): 627–642. doi:10.2307/2556115. JSTOR 2556115.
- Ford, E.B. (1971). Ecological Genetics, London.
- Guo, Sw; Thompson, Ea (1992). "Performing the exact test of Hardy-Weinberg proportion for multiple alleles". Biometrics. 48 (2). Biometrics, Vol. 48, No. 2: 361–72. doi:10.2307/2532296. ISSN 0006-341X. JSTOR 2532296. PMID 1637966.
{{cite journal}}
: Unknown parameter|month=
ignored (help)CS1 maint: multiple names: authors list (link) - Hardy, G. H. (1908). "Mendelian Proportions in a Mixed Population" (PDF). Science. 28 (706): 49–50. doi:10.1126/science.28.706.49. ISSN 0036-8075. PMID 17779291.
{{cite journal}}
: Unknown parameter|month=
ignored (help) - Ineichen, Robert; Batschelet, Eduard (1975). "Genetic selection and de Finetti diagrams". Journal of Mathematical Biology. 2: 33. doi:10.1007/BF00276014.
- Masel, Joanna (2012). "Rethinking Hardy–Weinberg and genetic drift in undergraduate biology". BioEssays. doi:10.1002/bies.201100178.
- Pearson, K. (1903). "Mathematical contributions to the theory of evolution. XI. On the influence of natural selection on the variability and correlation of organs". Philosophical Transactions of the Royal Society of London, Ser. A. 200 (321–330): 1–66. doi:10.1098/rsta.1903.0001.
- Stern, C. (1943). "The Hardy–Weinberg law". Science. 97 (2510): 137–138. doi:10.1126/science.97.2510.137. JSTOR 1670409. PMID 17788516.
- Weinberg, W. (1908). "Über den Nachweis der Vererbung beim Menschen". Jahreshefte des Vereins für vaterländische Naturkunde in Württemberg. 64: 368–382.
- Wigginton, Je; Cutler, Dj; Abecasis, Gr (2005). "A Note on Exact Tests of Hardy-Weinberg Equilibrium". American Journal of Human Genetics. 76 (5): 887–93. doi:10.1086/429864. ISSN 0002-9297. PMC 1199378. PMID 15789306.
{{cite journal}}
: Unknown parameter|month=
ignored (help)CS1 maint: multiple names: authors list (link) - Yule, G. U. (1902). "Mendel's laws and their probable relation to intra-racial heredity". New Phytol. 1 (193–207): 222–238. doi:10.1111/j.1469-8137.1902.tb07336.x.
External links
- EvolutionSolution (at bottom of page)
- Hardy–Weinberg Equilibrium Calculator
- genetics Population Genetics Simulator
- HARDY C implementation of Guo & Thompson 1992
- Source code (C/C++/Fortran/R) for Wigginton et al. 2005
- Online de Finetti Diagram Generator and Hardy–Weinberg equilibrium tests
- Online Hardy–Weinberg equilibrium tests and drawing of de Finetti diagrams
- Hardy–Weinberg Equilibrium Calculator