Selection tilts the draw
Give every individual a relative fitness , where is the selection coefficient. In the Wright–Fisher draw, a child now picks an parent with probability instead of . A positive favours the mutant and a negative one harms it.
The mean change per generation is about , a push towards fixation. The random part is the same as before, with variance . Selection wins when its push over one generation is large compared with the random step, which happens when is large.
Source: K. S. Korolev · O. Hallatschek and D. R. Nelson
An exact answer for the Moran model
The Moran model changes one individual at a time. In each step one individual is chosen to reproduce, with probability proportional to fitness, and one is chosen uniformly to die. The number of mutants moves up by one, down by one, or stays put, so the process is a birth-death chain.
Let be the probability that mutants eventually take over. Conditioning on the first step that changes gives a recursion with and . Its solution depends only on the ratio of the down and up probabilities, which equals for constant fitness . For neutral mutants it reduces to , as in the previous chapter.
One Moran generation is steps. Traced backwards, its lineages merge twice as fast per generation as Wright–Fisher lineages, so its drift is twice as strong. The same then gives about half the fixation probability.
Source: A. Traulsen and C. Hauert · N. Berestycki
The diffusion formula for Wright–Fisher
The Wright–Fisher chain has no closed form with selection, but it can be solved numerically, and for large it has a good approximation. Let be the fixation probability from frequency . After one generation the frequency has moved by a small random step, and must equal its own average over that step. Expanding to second order in the step gives the equation below.
Divide by to get , so decays as . Integrating once and imposing and gives the result on the right. A single mutant in a large population fixes with probability close to when is large, and close to when is small.
Source: O. Hallatschek and D. R. Nelson · N. Berestycki
Worked example: a five per cent advantage among fifty
Problem. One mutant with appears in a population of . How likely is it to fix in the Wright–Fisher model, and how long does a successful mutant take?
Diffusion. With and , .
Exact chain. Writing the transition matrix and solving the linear equations for absorption gives . The diffusion formula is per cent high. The Moran formula with the same and gives , about half, as expected from its stronger drift.
Time. The exact chain gives a mean of generations for mutants that fix, against for a neutral mutant in the same population. Successful favoured mutants rise faster.
Check. In seeded replicate populations of the Lab preset Better, yet usually lost, the mutant fixed in a fraction and took generations. The fraction is within a quarter of a standard error of the exact value; the time is standard errors high, which is within ordinary scatter.
Answer. More than nine favoured mutants in ten are lost. The rule of thumb, , is already close.
Source: A. Traulsen and C. Hauert · O. Hallatschek and D. R. Nelson
When drift beats selection, and when it does not
The product decides. In a population of a harmful mutant with starting at still fixes with exact probability , far above zero; the Lab measures . In a population of a mutant with starting at fixes with probability , six times its starting frequency.
Across the five Lab presets, the simulated fixation fractions and times scatter around the exact values as the standard errors predict. That check only tests the simulation against the exact chain of the same model. Whether real populations behave like Wright–Fisher sampling is a separate question.
Source: K. S. Korolev · A. Traulsen and C. Hauert