Population Genetics Practical 7: Allele-frequency change and finite-population outcomes
Learning objectives
Specify a selection life cycle; calculate genotype weighting and allele-frequency change; compare fitness dominance models; identify a heterozygote-advantage equilibrium; and distinguish a selected allele’s deterministic trajectory from its finite-population fate.
Use base R and hypothetical parameters. A/a are allele labels; dominance here concerns fitness, not necessarily dominance for a measured trait such as body weight. No simulated trajectory is presented as a biological finding.
1. State the life cycle
Begin with random union of gametes at A frequency \(p\), giving zygote proportions \(p^2,2pq,q^2\). Apply genotype fitness weights \(w_{AA},w_{Aa},w_{aa}\) to their reproductive contributions. Count A in the selected pool, then form the next zygotes by random mating. There is no mutation or migration.
Weights describe relative contribution under this model. If the mean contribution is zero, a next-generation pool is undefined. Multiplying every fitness by the same positive constant leaves the allele-frequency recursion unchanged.
Question 1. Are the selected contribution proportions automatically HWE proportions at the new frequency?
Suggested answer
No. Genotype-dependent weighting changes the selected pool’s proportions. Random union of its gametes gives HWE expectations for the next zygote stage. The stage at which frequencies are defined matters; selection can recur after that stage.
2. Compare fitness dominance
For a beneficial A allele, define \(w_{AA}=1+s\), \(w_{Aa}=1+hs\), \(w_{aa}=1\). Here \(s>0\) is its homozygote advantage and \(h\) specifies heterozygote fitness: 0 recessive, 0.5 intermediate, and 1 dominant in this parameterization.
Figure 1: Deterministic selection trajectories from A frequency 0.05 at three fitness-dominance assumptions.
Question 2. Why can a rare beneficial recessive allele increase slowly?
Suggested answer
Most of its copies occur in heterozygotes when it is rare. Under the recessive fitness model those heterozygotes have no advantage, and advantageous AA homozygotes are uncommon. Conversely, near fixation a dominant beneficial allele can leave the alternative allele hidden in equally fit heterozygotes, slowing its removal.
3. Heterozygote advantage can maintain a polymorphism
Suppose \(w_{AA}=1-s\), \(w_{Aa}=1\), \(w_{aa}=1-t\), with \(s,t>0\). The interior equilibrium is
\[p^*=\frac{t}{s+t}.\]
Both alleles can increase when rare because heterozygotes exceed either homozygote in fitness. This is one explicit balancing-selection model, not a claim that every polymorphism is maintained by selection.
Figure 2: Two deterministic trajectories approaching the heterozygote-advantage equilibrium under supplied fitnesses.
Question 3. Does this deterministic equilibrium guarantee that both alleles persist in a finite population?
Suggested answer
No. Drift can still reach loss or fixation. Balancing selection changes the transition probabilities but does not create a missing allele when mutation and migration are absent. The deterministic model and finite-population model answer different questions.
4. Combine selection with finite allele-copy sampling
Use the selected-pool frequency as the probability of sampling \(2N\) copies for the next generation:
This is a specified one-locus selection-plus-drift model. It does not simulate sex-specific mating, individual family sizes, chromosome recombination or breeding programme constraints.
Figure 3: Twenty seeded selection-plus-drift trajectories and the deterministic selection path; the deterministic line is not the exact mean of the stochastic model.
Conditional mean frequency is \(p_{selected}(p_t)\). Selection is generally nonlinear, so averaging it over a random \(p_t\) is not the same as applying it to the mean frequency. The deterministic line is therefore a useful comparison, not automatically the expected stochastic trajectory. The 20-run outcomes illustrate possible fates; they are not precise fixation-probability estimates.
Exercises
Set every fitness to the same positive value. What happens to the deterministic frequency and the stochastic model?
Reverse allele labels and swap the homozygote fitnesses. Verify the next A frequency becomes the complement.
Use \(w_{AA}=0.7,w_{Aa}=1,w_{aa}=0.9\). Calculate the balancing equilibrium.
Explain why the beneficial allele can disappear in the finite runs and why selection cannot restore it at frequency zero.
Equal fitnesses leave deterministic frequency unchanged and reduce the stochastic model to neutral drift. The balancing equilibrium is 0.25 under those specified fitnesses. Finite sampling can draw zero A copies even after selection; without mutation or migration, there are then no A copies for selection to favor.
App and package connections
The existing selection Shiny app is available for optional local exploration with its existing dependencies. This practical does not change or qualify that app, and the simple one-locus model does not establish a selective sweep at linked loci.
gpop owns deterministic population expectations; biological simulation belongs in gsim; breeding objectives, selection policy and programme design belong in gsel. Natural-selection fitness weights are not automatically economic weights or estimated breeding values. These teaching calculations add no scientific package APIs.