Neutral Theory

This simulation is designed to illustrate the differences between the neutral theory and the nearly neutral theory of molecular evolution. Neutral theory considers the fate of new mutations acted only exclusively by genetic drift. In contrast, nearly neutral theory focuses on new mutations that are acted on by the combination of relatively weak natural selection (because mutations have relative fitness values close to the population average) and genetic drift. This simulation is designed to show the distribution of the times to fixation as well as the distribution of the times to loss for both neutral and nearly neutral models. For nearly neutral mutations, the simulation also shows the distribution of selection coefficients for those mutations that reach fixation as well as for those mutations that are lost.

Parameters

Parameters for plots of allele frequency by time for individual mutations:
The relative fitness of new mutations is drawn from a uniform distribution.

 Neutral Theory Plot

This simulation is designed to illustrate the eventual fate and segregation times of new mutations, two key concepts in the neutral and nearly neutral theories of molecular evolution.

The simulation introduces new mutations into a finite population and then tracks the frequency of these new mutations over time until they are either lost from the population (go to a frequency of zero) or fixed in the population (go to a frequency of one). Each new mutation can be considered to occur at a different locus. The pattern to observe is how many mutations are fixed and how many are lost and how long mutations take to reach their eventual fate of fixation or loss. All of the new mutations are initially present as one copy or have an initial frequency of 1/(2Ne). The allele frequencies are simulated for 5Ne generations.

The user-entered parameter "Total number of loci" sets the number of replicate loci in both the neutral and nearly neutral simulations. The user can also set the effective population size (Ne), which is regulates the strength of genetic drift.

The allele frequency by time plots show the pattern of change in allele frequency over time for a random sample of replicate loci. The user can change the "Generations between mutations infrequency by time plots" to alter the view of these allele frequencies (the underlying allele frequency data are not changed). This spreads the allele frequency trajectories out so they can be seen more easily. Fewer generations between mutations will result in more allele frequency trajectories being displayed. The total number of generations in these plots to view can also be set by the user.

In the nearly neutral simulation, the user can set the boundaries of the relative fitness distribution for new mutations as a percent of the mean fitness in the population. For example, if the "Range of fitness values for mutations" is set at ± 5%, a genotype homozygous for a new mutation would have a randomly assigned relative fitness between 0.95 and 1.05 using a uniform distribution. (Note that a uniform distribution is probably not biologically accurate, so do not focus on the exact shape of the fitness distributions for mutations.) The simulation assumes that gene action is strictly additive, meaning that heterozygotes for a new mutation have a relative midway between the relative fitness of a genotype homozygous for a new mutation and one.

For both the neutral and nearly neutral models, the histograms show the distribution of times to fixation for those mutations that eventually fix as well as the distribution of times to loss for those mutations that eventually go to loss. (Those few mutations that remain segregating are ignored.)

In addition for the nearly neutral model, histograms show the distribution of relative fitness values for those mutations that eventually fix as well as for those mutations that eventually go to loss.

For more background, see chapters 5 and 8 in Hamilton, 2009.