Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

E.1 Follow a favored allele

An allele changes expected reproductive contribution. What happens when the next generation has a finite number of copies?

Let p be the A frequency before selection and q=1-p. Random mating gives genotype probabilities p², 2pq and q². Fitness weighting gives

wˉ=p2wAA+2pqwAa+q2waa,ps=p2wAA+pqwAawˉ.\bar w=p^2w_{AA}+2pqw_{Aa}+q^2w_{aa},\qquad p_s=\frac{p^2w_{AA}+pqw_{Aa}}{\bar w}.

The next generation is generated by

Kt+1∣pt,w∼Binomial⁡(2Ne,ps),pt+1=Kt+12Ne.K_{t+1}\mid p_t,w\sim\operatorname{Binomial}(2N_e,p_s),\qquad p_{t+1}=\frac{K_{t+1}}{2N_e}.

We use the same fitnesses, population sizes, seeds and plots as the lecture.

Expected trajectories under selection

Pritchard’s Fig. 2.81 starts the tracked allele at 0.0001 or 0.20. For each selection coefficient ss, use fitnesses (1+s,1+s/2,1)(1+s,1+s/2,1) in tracked-copy order. Apply the expected frequency update each generation. The curves show the deterministic prediction for those fitnesses.

The first point is numbered 1, as in the textbook. The plots can also be exported as lecture PDFs by setting the environment variable P8149_FIGURE_DIR.

Plot with title “Starting frequency = 0.2”

One generation

Set p=0.10 and fitnesses (1.10, 1.05, 1.00), ordered AA, Aa, aa. Compare 3,000 independent draws at Ne=20 and Ne=200. Blue marks the conditional expectation; red dashes mark the initial frequency.

Plot with title “Ne = 200”

The finite-population model supplies exact probabilities to check the simulation. Here we compare the observed mean with the binomial mean and calculate the chance of a decline.

Loading...

Repeat reproduction for 150 generations

Keep the same fitnesses and p0=0.10. Each blue line is one of 40 independent histories; red is the deterministic recurrence. At the same starting frequency, the two population sizes begin with different allele counts.

Plot with title “Ne = 200”

The recurrence supplies the conditional update at each current frequency. Finite populations can follow different paths, including loss of A. The lecture’s single-copy fixation discussion changes the starting count to one.

Model sources: Pritchard, An Owner’s Guide to the Human Genome, Section 2.5; Gorroochurn, Population Genetics Notes, Sections 5.5–5.7. Fitness values are illustrative.