Skip to main content
. 2024 Dec 27;13:RP97350. doi: 10.7554/eLife.97350

Figure 2. Dynamics of partial sweeps and subsequentfixation.

Figure 2.

(A) Simulation of Susceptible-Infected-Recovered (SIR) Equation 1 & Equation 2 with additional strains appearing at regular time intervals. The fraction of infections (frequency) caused by each strain is shown as a function of time. The first strain to appear at t=0 is the variant of interest, and curves are shown in shades of red if they appear on the background of this variant, and of blue if they appear on the background of the wild-type. (B) Same as A but with frequencies stacked vertically. The black line delimiting the red and blue areas represents the frequency at which the mutations defining the original variant are found. (C) Three realizations of the random walk of Equation 9, all starting at x0.5. Two instances converge rapidly to frequencies 0 and 1, corresponding to apparent selective sweeps, while the remaining one oscillates for a longer time. (D) Representation of a partial sweep using the expiring fitness parametrization of Equation 11. The frequency x of the variant is shown as a blue line saturating at value β (gray line). The thin dashed line shows a selective sweep with constant fitness advantage s0. The fitness s is a red dashed line, using the right-axis.