Abstract
A fundamental result of population genetics states that a new mutation, at an unlinked neutral locus in a randomly mating diploid population, has a mean time of fixation of ∼4Ne generations, where Ne is the effective population size. This result is based on an assumption of fixed population size, which does not universally hold in natural populations. Here, we analyze such neutral fixations in populations of changing size within the framework of the diffusion approximation. General expressions are derived for the mean and variance of the fixation time in changing populations. Some explicit results are given for two cases: (i) the effective population size undergoes a sudden change, representing a sudden population expansion or a sudden bottleneck; (ii) the effective population changes linearly for a limited period of time and then remains constant. Additionally, a lower bound for the mean time of fixation is obtained for an effective population size that increases with time, and this is applied to exponentially growing populations. The results obtained in this work show, among other things, that for populations that increase in size, the mean time of fixation can be enhanced, sometimes substantially so, over 4Ne,0 generations, where Ne,0 is the effective population size at the time the mutation arises. Such an enhancement is associated with (i) an increased probability of neutral polymorphism in a population and (ii) an enhanced persistence of high-frequency neutral variation, which is the variation most likely to be observed.
Keywords: gene fixation, demographic change, neutral theory, fixation time, diffusion analysis
HOW are properties of mutations at neutral loci, such as the mean time of fixation, modified when population size is not constant? The answer to this question directly influences the persistence of neutral variation in a population and the probability of neutral polymorphism. To put the question in context, we note that the genomes of many organisms contain loci and sites that can be described as neutral, with most substitutions seeming to have a neutral effect on the fitness of the host organism (see, e.g., Kimura 1983; Gillespie 1994, Chap. 6; Nei et al. 2010).
When mutation produces a new allele, its long-term outcome (neglecting additional mutations) is either loss or fixation. Henceforth, we restrict attention to mutations at unlinked neutral loci in randomly mating diploid populations. Typically, a new allele at such a locus does not achieve high relative frequencies and becomes lost in a short time (Kimura and Ohta 1969; Crow and Kimura 1970). A rarer outcome is fixation, which typically takes a relatively long time to occur. With Ne the (variance) effective population size, alleles that start at low relative frequencies take a mean time to fix of ∼4Ne generations (Kimura and Ohta 1969), under the implicit assumption that the effective population size is constant. An allele that fixes generally achieves intermediate and high relative frequencies on the way to fixation and hence contributes to the neutral variation of the population for a time of the order of the mean fixation time. Related to this is neutral polymorphism, which arises from recurrent neutral mutation and random genetic drift. The likelihood of observing neutral polymorphism in a population is governed by the size of the product of mean fixation time and neutral genomic mutation rate (Kimura 1983). Thus there are direct ways the mean fixation time affects a population.
The above ideas form a standard part of our understanding of neutral mutations and connect with a larger body of work describing the effects of random genetic drift at the gene and molecular levels (Crow and Kimura 1970; Kimura 1983). Here we present an analysis of random genetic drift in situations involving neutral fixation in populations of changing size. Such an analysis is required to establish how fundamental results, such as the “4Ne” result for the mean time to fixation, become modified when population size is not constant and whether such results have an impact on neutral effects in a population.
Background
Fixation is a process that takes a random time to occur. For an unlinked neutral locus, the distribution of fixation times is approximately known when population size is constant (Kimura and Ohta 1969). It is recognized, however, that the assumption of fixed population size does not universally hold. Many natural populations have a size that significantly changes over time. In a study of the effects of changing population size on the fixation of nonneutral mutations, Otto and Whitlock (1997) listed the following as possible reasons for changing population numbers in the wild: (i) varying physical conditions, (ii) resource availability, (iii) habit availability, (iv) predator density, and (v) human disturbance. Human beings constitute an example of a population whose size is changing at a varying rate of growth.
To illustrate some of the issues associated with changing population size, let us consider examples involving fixation of a neutral allele.
Examples
Assume first that a single mutant allele arises in a population of fixed size N and that the allele ultimately fixes. From the first appearance of the allele to its fixation, which we assume takes T generations, all 2N resident alleles of the population are lost (strictly, the number lost is 2N − 1, given one initial mutant allele) and are replaced by mutant alleles. The disappearance of resident alleles thus occurs at an average rate of 2N/T alleles per generation. Using the estimate T = 4Ne generations leads to an average rate of loss of resident alleles of N/(2Ne) alleles per generation. This simple picture becomes complicated if the mutant allele arises and goes to fixation in a population of changing size. To see this, consider a population whose size always remains close to its carrying capacity, which, for reasons external to the population, changes with time. We assume the carrying capacity exhibits the simplest nontrivial behavior, namely a linear change for a limited period of time. During this limited period, the population size is given by N(t) = N0 + γt, where γ is the constant rate of change of population size. We consider the implications of population sizes that either decrease (γ < 0) or increase (γ > 0).
Generally, the effective population size at any time t, written Ne(t), will change over time. For the purposes of this example, we assume the simplest relation between the actual and effective population sizes and take Ne(t) = constant × N(t). Such an assumption is consistent with results from static populations. For example, in a population with a biased sex ratio, the quantity N/Ne depends solely on the sex ratio (see, e.g., Gillespie 2004, p. 49).
Let us now consider a mutant allele that arises at time t = 0 and that ultimately fixes in a population of linearly changing size. Fixation of the mutant allele occurs when all resident alleles are lost. We thus focus on the overall rate of loss of resident alleles, which arises from a sum of two terms: (i) a contribution caused by population size changes and (ii) a contribution arising from loss of the alleles due to random genetic drift.
In the early stages of the fixation process, residents comprise the vast majority of individuals in the population, and a rate of change of population size of γ (which may be positive or negative) closely corresponds to resident alleles changing at the rate of 2γ alleles per generation and hence of resident alleles being lost at the rate of −2γ alleles per generation. Thus we take −2γ as the contribution of population size change to the overall rate of loss of resident alleles; it may be positive or negative, depending on the sign of γ.
In a population of constant size, the rate of loss of resident alleles, due to random genetic drift, was estimated above to be N/(2Ne) alleles per generation. In a changing population, the corresponding rate of loss of resident alleles will generally differ from this result, but we use N/(2Ne) as an estimate of this rate.
Under population decrease (γ < 0) the contributions to the overall rate of loss of resident alleles, from random genetic drift and population size change, are N/(2Ne) and −2γ ≡ 2|γ|, respectively, and are both positive. As a consequence the instantaneous rate of loss of resident alleles, when the population size is N, will typically be faster than that of a population of fixed size N.
Under population increase (γ > 0), the overall rate of loss of resident alleles has a negative contribution from population size change (estimated above to be −2γ) and a positive contribution from random genetic drift [estimated above to be N/(2Ne)]. Thus when the population size is N, the total rate of loss of resident alleles is ∼N/(2Ne) − 2γ, i.e., slower than that of a population of fixed size N. A particularly interesting regime is where the rate of loss of resident alleles due to random genetic drift can be overcome by the effect of population size increase, which increases the number of resident alleles. This will occur when γ is sufficiently large compared with N/Ne that the number of resident alleles does not decrease but typically changes at a net positive rate, i.e., increases. We should then expect that fixation could take much longer to occur. Indeed if the population growth persisted at such a rate indefinitely, the mean time to fixation could, plausibly, become infinite.
From the above examples it is reasonable to infer that the mean time to fixation is generally sensitive to a changing population size.
Methods
To address the issue of neutral fixation in a changing population, we separate the problem into two components:
i. The first component is a statistic, associated with fixation, which has the properties that its distribution is independent of the pattern of population-size changes over time. The statistic introduced has a distribution that depends on a single parameter (the initial frequency of the mutant allele).
ii. The second component is a function that encapsulates the way that population size changes over time. This function is independent of the fixation time.
In this way we cleanly separate a common feature of fixation (the distribution of the statistic introduced here) from the pattern of size changes of the particular population under consideration.
Model
Consider an unlinked neutral locus within the genome of a randomly mating diploid population with discrete generations. We assume the population-size changes over time, such that in generation t there are N(t) adults. The processes that lead from the adults of one generation to the adults of the next generation are taken to be (i) reproduction, shortly followed by the death of all adults; (ii) viability selection; and (iii) nonselective ecological thinning (which is required, on the assumption that more individuals survive selection than can be supported by the environment). The thinning process reduces the number of individuals in the population to the N(t + 1) adults of the next generation. It is step iii where random genetic drift can be identified as occurring. Alternative assumptions about step iii may alter the way random genetic drift affects the population.
Associated with random genetic drift is the variance effective population size (Ewens 2004), which we assume also changes with time. The variance effective population size in generation t is denoted by Ne(t). This is determined from an averaging over processes that occur in a single generation. Throughout this work we use Ne(t) to refer only to such a local quantity, that is, one associated with generation t. In particular, we do not make use of averages of the effective population size (such as the harmonic mean) that summarize properties of the effective population size over multiple generations and hence reflect population-size information that is nonlocal in time. For generality, we leave the relation between the actual population size, N(t), and the effective population size, Ne(t), arbitrary. It is very natural, however, to regard the effective population size as a proxy for the actual population size and hence assume that changes in N(t) are accompanied by closely related changes in Ne(t).
The question we address concerns features of the fixation process when the actual and effective population sizes have known historical variation over time. Thus we view N(t) and Ne(t) as being completely determined and not having any stochasticity. Accordingly, it would be inappropriate to carry out any averaging over these functions. Addressing questions of a different nature may require population-size averaging (see, e.g., Parsons and Quince 2007; Engen et al. 2009; Parsons et al. 2010; Uecker and Hermisson 2011; Waxman 2011c).
Let the locus in question have two alleles, denoted A and a, with a the wild-type allele and Α a mutant allele that is the focus of interest.
In the adults of generation t, the proportion of all genes at the locus that are allele A, written X(t), is the relative frequency of the A allele (henceforth termed the frequency). The frequency X(t) generally exhibits random variation over time, due to the uncertainties of individuals contributing their genes to the following generation. The statistical properties of X(t) can be obtained by considering many different replicates of a population with identical population-size behaviors. Initially, all replicates start with the same frequency of the A allele, but after the initial time different replicates may, due to stochasticity of the dynamics, have different values of the frequency. An extension of the Wright–Fisher model (Fisher 1930; Wright 1931), which takes into account changes in population size over time, can be used to calculate statistical results for X(t), but this is mathematically complicated and normally leads only to numerical results. To make theoretical progress we perform an analysis on the basis of the diffusion approximation, where time t and frequency X(t) are both treated as continuous quantities. The frequency X(t) becomes a continuous random variable and is described by a probability density whose value at frequency x and time t is f(x, t). The diffusion approximation derives its name from the diffusion equation governing f(x, t). For an unlinked neutral locus in a randomly mating diploid population this reads −∂f(x, t)/∂t = −[4Ne(t)]−1 ∂2[x(1−x)f(x,t)]/∂x2 (Crow and Kimura 1970), where, as stated above, Ne(t) is the effective population size that is appropriate for generation t.
Let the A allele have a frequency of y at the time of its initial appearance, which we take throughout this work to be t = 0. Thus if n copies of the A allele are present in a population at the initial time, then the initial frequency is given by y = n/(2N(0)). At large times the A allele will have either fixed, with probability y, or been lost, with probability 1 − y. These probabilities hold irrespective of the way that the effective population size changes after appearance of the mutation (see Appendix A).
Statistic
More complex information about the evolutionary process is contained in the description of the random time it takes for fixation or loss of the A allele to occur. If fixation ultimately occurs, the random time to fixation, denoted Tfix, has a probability distribution that depends on the behavior of the effective population size over time. We have found it advantageous to work with a statistic that is associated with the fixation time, but whose distribution is independent of the behavior of Ne(t), and hence has an invariant form. The statistic, denoted R, is defined by
(1) |
and explicitly involves Tfix. In Appendix B we establish that under the diffusion approximation, the statistic R has the property that its distribution depends upon just one parameter, namely the frequency of the A allele at its time of appearance (t = 0). Let us briefly note the implications of this property for two populations where the A allele starts with the same initial frequency and ultimately fixes, but the two populations have different effective sizes over time. Despite differences in Ne(t), all statistical properties of the two populations that do not explicitly depend on Ne(t) and involve only R (for example, the mean or variance of R) will be identical for both populations. The independence of the distribution of R on the behavior of Ne(t) contrasts sharply with statistical properties of fixation times, which will generally be different for the two populations. Before we illustrate the different statistical properties of the fixation time in populations with different Ne(t), it is necessary to fully characterize R.
Generally, all statistical properties of R are summarized by its cumulative distribution function, Fy(r), which depends on the initial frequency (y) as a parameter. The cumulative distribution function is defined as the probability
(2) |
with 0 ≤ r < ∞. In Appendix B we establish that the diffusion approximation yields
(3) |
where is a particular polynomial of y [a Gegenbauer polynomial of order 3/2 and degree n (Abramowitz and Stegun 1964)]. In the practically important case of low initial frequencies (y → 0) we write the cumulative distribution as F0(r) and this has the simple approximation
(4) |
(see Appendix B). The expressions in Equations 3 and 4 follow from existing results in the literature (Kimura 1955; Waxman 2011b).
For an initial frequency of y, the mean and variance of R are written as Ey[R] and Vary(R). These have simple forms under the diffusion approximation (see Appendix C for details):
(5) |
and
(6) |
where denotes the dilogarithm function (Abramowitz and Stegun 1964).
The results of Equations 5 and 6 reduce, in the limit of small y (y → 0), to E0[R] = 1 and Var0(R) ≃ (π2/3 − 3).
In Appendix D we use simulations and the results of Equations 5 and 6 to illustrate the prediction of the diffusion approximation, that statistical properties of R depend only on the initial frequency of the A allele and not on the behavior of the effective population size.
Results
Statistical properties of the time to fixation
Equation 1 relates the statistic R to another random quantity—the fixation time, Tfix. Equation 1 can always be solved (by either analytical or numerical methods) to yield Tfix as a function of R and we write this relation as
(7) |
Expectations involving the fixation time follow from knowledge of h(r) and Fy(r). For example, with a an arbitrary positive number, the mean of (Tfix)a, namely Ey[(Tfix)a], can be written as . This result can be used to derive expressions for statistical properties of Tfix such as its mean and variance (see Appendix E for details). In particular, the mean and the variance of the time to fixation are given by
(8) |
(9) |
Equation 8 is the generalization of the constant population result to effective population sizes that are time dependent.
When the effective population size is constant, Equation 8 leads to Ey[Tfix] ≃ −4Ne × (1 − y)ln(1 − y)/y and for a small initial frequency (y → 0) this result reduces to the standard result E0[Tfix] ≃ 4Ne (Kimura and Ohta 1969). Furthermore, for a constant population size and y → 0, the variance reduces to the known result Var0(Tfix) ≃ (π2/3 − 3) × (4Ne)2 (Kimura 1970).
The form of the function h(r), which appears in Equations 7–9 and relates Tfix to R, depends specifically on the history of Ne(t), from the time the mutant allele appears (at t = 0) onward. We next provide details of two examples, following from known forms of Ne(t), to illustrate the behavior of the mean and variance of Tfix. We also present two different inequalities for Ey[Tfix] that do not require knowledge of the full history of Ne(t). One inequality applies when Ne(t) is known to lie within a finite range of values for all times, and the other inequality provides a lower bound on Ey[Tfix] when the population size increases over time.
Examples
Example 1:
For the first example, consider the situation where Ne(t) has a discontinuous jump in size at time τ (see curve b in Figure D1, Appendix D):
(10) |
In Appendix F it is shown that Equations 1, 7, and 8 lead to a mean fixation time of
(11) |
where ρ is a measure of the time of population-size jump:
(12) |
Note that because Ne,0 and Ne,1 are arbitrary, Equation 11 can apply to a population experiencing a sudden expansion (Ne,1 > Ne,0) or a sudden bottleneck (Ne,1 < Ne,0).
In Appendix F we also derive an expression for the variance of Tfix, which has a more complex form than that of Equation 11. To gain intuition about Equation 11, let us consider some informative extreme limits.
If Ne,0 → ∞ with Ne,1 held constant, Equation 11 reduces to Ey[Tfix] = τ + 4Ne,1Ey[R] and corresponds to fixation occurring only after time τ and, then, only from a frequency of y. This has the explanation that an effectively infinite effective population size up to time τ prevents any change of the allele frequency from its initial value; hence fixation occurs only after the population size has become finite. Alternatively, if Ne,1 → ∞ with Ne,0 held constant, then the mean time to fixation diverges. This arises because there is a finite probability that a mutant allele does not fix before time τ; the allele then finds itself in an effectively infinite population and will not fix in any finite time. In the methods presented in this work, this result arises because 4Ne,1, in Equation 11, is multiplied by the finite probability that R will be larger than ρ.
In the limit of low initial frequencies (y → 0), the mean and variance of Tfix become E0[Tfix] and Var0(Tfix), respectively, and we can obtain approximations for these quantities. For small, intermediate, and relatively large values of ρ we find that
(13) |
(see Appendix F for details.) An inspection of Equation 13 indicates that when the scaled time of population-size jump, ρ, is small (ρ ≪ 1, corresponding to τ ≪ Ne,0), the mean fixation time approximately equals 4Ne,1 and hence is largely determined by the population size achieved at later times. This is naturally attributed to most replicate populations not having fixed the A allele by the time of the population-size jump. The intermediate value of ρ used in Equation 13, namely ρ ≃ 0.51, was chosen so that 4Ne,0 and 4Ne,1 make equal contributions to E0[Tfix]. The result obtained is very similar to the result obtained by using this value of ρ in the small ρ result in the preceding line. For relatively large values of ρ (ρ ≥ 2, corresponding to τ ≥ 8Ne,0) the mean fixation time approximately equals 4Ne,0 and hence is largely determined by the population size achieved at early times; this is naturally attributed to most replicate populations having fixed the A allele by the time of the population-size jump.
The variance of Tfix can also be approximated for low initial frequencies (y → 0). We find (see Appendix F for details)
(14) |
The variance obtained for ρ ≃ 0.51 is close to the result obtained using this value in the small ρ result (since π2/3 − 3 ≃ 0.29 is close to 0.27). It is somewhat surprising that the variance, when ρ = 1, has the largest weighting given to the later population size (Ne,1), given that the mean of Tfix for this value of ρ (see Equation 13) has the largest weighting given to the contribution of the earlier population size (Ne,0).
Example 2:
For the second example, consider the situation outlined at the start of this article, where the effective population size was assumed to change linearly, for a finite period of time, and then maintain a constant value. We present only the details of an analysis for an increasing population. A formal solution is justified in this case since the issues involved are potentially complex (see Background).
We write
(15) |
where the rate of change, γe, is taken to be positive. We find (see Appendix G for details)
(16) |
where r0 = (4γe)−1log(1 + γeτ/Ne,0). Appendix G contains an expression for the variance of Tfix, which again has a more complex form than that of the mean.
Restricting considerations to low initial frequencies, where the mean and variance of Tfix become E0[Tfix] and Var0(Tfix), respectively, the results for these can, using Equation 4, be numerically evaluated. The dependence of E0[Tfix] on the duration of linear change, τ, is affected by the rate of change of the effective population size, γe, as illustrated in Figure 1A. The dependence of the variance on τ is also affected by γe, and to facilitate direct comparison with E0[Tfix], the square root of the variance is plotted as a function of τ in Figure 1B.
Approximate results can also be obtained for the dependence of E0[Tfix] and Var0(Tfix) on τ. When γe has a fixed value and τ is sufficiently large that it satisfies both and γeτ/(4Ne,0) ≫ 1, we find the following approximate τ dependences:
(17) |
(18) |
where k1,k2, … , k6 are independent of τ and p is the parameter
(19) |
(see Appendix G for details). The three powers of τ appearing in Equations 17 and 18, namely p, 2p, and 1 + p, are all negative for γe < 1/4, but for 1/4 < γe < 1/2, p and 2p are negative while 1 + p is positive, and for γe > 1/2 all three powers are positive. This leads to E0[Tfix] and Var0(Tfix) having dependences on τ (when τ is large), which is sensitive to the value of γe. When γe < 1/4, both E0[Tfix] and Var0(Tfix) vary as τ to a negative power, indicating a weak dependence on τ. However, when 1/4 < γe < 1/2, it follows that E0[Tfix] varies as τ to a negative power while Var0[Tfix] has a term varying as τ to a positive power. Thus the variance has a potentially strong dependence on τ in this regime. Finally, when γe > 1/2, both E0[Tfix] and Var0(Tfix) vary as positive powers of τ, indicating that both have potentially a strong dependence on τ.
Bounds on the mean
The above results are based on explicit forms for Ne(t). To make use of Equation 8, for the mean time to fixation, requires full knowledge of Ne(t), so that the function h(r) can be determined. We can circumvent the requirement of full knowledge of Ne(t) at the cost of obtaining bounds, not precise values. The bounds obtained are based on the diffusion approximation and hence are not rigorous inequalities for Ey[Tfix]:
- For the first bound, note that Equation 8 can be written in the alternative form where Ey[R] is given in Equation 5, and represents a particular sort of average of Ne(t), namely . If Ne(t) is known to always lie within the range Ne,min to Ne,max it immediately follows that , by virtue of being an average, must lie in the range . It follows that the mean time of fixation satisfies
-
A different bound can be obtained for an increasing population. A mutation that appears at time t = 0 has a mean time of fixation that satisfies
(20) where L = 4Ne(0) × Ey[R] (see Appendix H for details). Since Ey[R] ≤ 1, the maximum value of L is 4Ne(0). In the case of small initial frequencies we have Ey[R] ≃ E0[R] = 1 and hence L ≃ 4Ne(0).
The inequality in Equation 20 involves the average , which requires knowledge of Ne(t) only over times t = 0 to t = L. If, for example, the effective population size exhibits exponential growth over this time interval, with Ne(t) = Ne(0)eat, then Equation 20 leads to . If a × L is appreciable, then neutral mutations should have a mean time to fixation that is large relative to 4Ne(0).
Discussion
In this work we have considered statistical properties of the time it takes mutations at unlinked neutral loci to fix in populations of changing effective size. Such alleles contribute to the neutral variation of a population during the random time they are segregating. Even in populations of constant size, neutral alleles constitute a special case since they take longer (on average) to fix than beneficial or equally deleterious alleles under genic selection (Maruyama 1977, pp. 80 and 81). In the present work we show that the mean and variance of the time to fixation of neutral alleles are sensitive to the behavior of the effective population size. In particular, the mean time to fixation can be significantly increased beyond the constant population result when the effective size increases over time. In a population that increases over time, alleles that start with a low initial frequency have a mean time to fixation that is predicted to be >4Ne(0), where Ne(0) is the effective population size at the time the mutation arises. We use two of the results obtained in this work to illustrate this:
i. Equation 17 indicates how long-term linear growth of the effective population size affects the mean time of fixation. If linear population growth continues for a very long time (τ→∞), then Equation 17 shows that γe = 1/2 is a critical value of the growth rate, which separates small and potentially large values of E0[Tfix]. When actual and effective population sizes coincide, the critical value of the growth rate (i.e., γe = 1/2) corresponds to an increase by one new individual every two generations. This is a modest rate of growth. The variability of the fixation time also depends on the value of γe. When population growth continues for a very long time (τ→∞), the variance, Var0[Tfix], exhibits different behavior from the mean. The variance changes character at γe=1/4 from small to potentially large values [due to the term (γeτ/Ne,0)1+p in Equation 18]. This last feature, which corresponds to an increase of the population by one new individual every four generations, when actual and effective population sizes coincide, also illustrates that the mean and variance of Tfix can depend on parameters in quite different ways.
ii. Equation 20 shows that a large mean time of fixation results if the population grows an appreciable amount in the first 4Ne(0) generations. For example, with exponential growth at rate a we obtained , where L = 4Ne(0)Ey[R]. Thus if the growth rate has the value a = 0.05 per generation, then an initial effective size as small as Ne(0) = 20 leads, for small initial frequencies, to E0[Tfix] > 103 generations, which is >4Ne(0) by more than a factor of 10.
The time a mutation takes to fix in a population is closely related to the persistence of variation in that population. A measure of variation in a population (which in the present work arises from the segregation of neutral alleles) is given by the mean heterozygosity, E[H(t)], where H(t) = 2X(t)(1 − X(t)). To illustrate the relation between fixation and the persistence of variation consider a population with a period of linear growth as in Equation 15, with γe positive. Simulations of the heterozygosity are plotted as a function of time in Figure 2, for the case where a single A allele is initially present in the population.
For a fixed duration of linear change, τ, different values of the linear growth rate, γe, were used in Figure 2. The mean heterozygosity is very different for mutant alleles that fix compared with those that are lost. Mutant alleles that fix lead to a relatively high level of mean heterozygosity (∼0.4), which has a persistence that increases with γe. Mutant alleles that are lost lead to a mean heterozygosity that is relatively small and that persists for substantially less time than that of alleles that fix. For comparison, Figure 2 also contains a curve showing the heterozygosity of a population of constant effective size, whose value is the largest size achieved by the population with γe=1 and Ne,0=20, namely Ne,0 = 340 (dashed curve). The comparison is partially confounded because the initial frequency used in this constant population corresponds to a single copy of a mutant allele and hence has the value 1/(2 × 340), while the initial frequency in all of the populations that changed size (solid curves) was 1/(2 × 20). Figure 2A suggests that the maximum value that the mean heterozygosity achieves, for a mutant allele that ultimately fixes, is insensitive to the population size; however, the time the heterozygosity persists, and the actual pattern realized, is sensitive to the behavior of the effective population size. The evidence from Figure 2A is that an increasing population enhances the persistence of the neutral variation associated with the most observable mutant alleles, that is to say those that achieve intermediate and high frequencies and proceed to fix. No such phenomenon is strongly apparent in the variation associated with alleles that typically remain at low frequencies and are ultimately lost (Figure 2B).
To establish the connection between the persistence of variation from mutant alleles that proceed to fix and the mean fixation time, consider the mean heterozygosity, given that fixation ultimately occurs. We write this as E[H(t)|Fix]. The only mutant alleles contributing to E[H(t)|Fix] are those that fix after time t (i.e., that have Tfix > t). Accordingly, we have E[H(t)|Fix] = E[H(t)|Fix, Tfix > t] × Prob(Tfix > t), and from the simulations for Figure 2A, we find that Prob(Tfix > t) is the factor in this expression that is largely responsible for the observed decrease of E[H(t)|Fix] with t. That is, for the range of t where E[H(t)|Fix] decreases, we find that E[H(t)|Fix] ≃ constant × Prob(Tfix > t). It follows that the persistence of E[H(t) | Fix] is largely determined by the behavior of Prob(Tfix > t). Additionally, E[Tfix] is fully determined from knowledge of Prob(Tfix > t). Thus a changing population size can be viewed as most fundamentally affecting Prob(Tfix > t), which then affects other quantities such as E[H(t)|Fix] and E[Tfix]. From the simulations, an increasing population size is found to shift the decay of Prob(Tfix > t) to larger values of t, and this explains why an increased mean time of fixation is accompanied by an enhanced persistence of variation.
This work has concerned itself with neutral mutations. The degree to which alleles affect the fitness of their carriers is determined by the environment. Selective neutrality may be a transient property, because under environmental changes, originally neutral loci may become selected. The associated variation then becomes converted to nonneutral variation that becomes a target for selection, as has been discussed in the literature for, e.g., alleles associated with 6PG allozymes (Dykehuizen and Hartl 1980). Such nonneutral variation will generally be significant for the continued survival of a population. It could allow rapid adaptation to a changed environment or, perhaps, result in a very high load that leads to extinction. Either way, the potential to evolve and the direction of evolution are closely associated with the presence of neutral alleles in a population and hence on the time they take to achieve fixation.
Acknowledgments
I thank Sally Otto, Andy Overall, Joel Peck, and Tianqi Zhu for stimulating discussions and helpful suggestions for the manuscript. I also thank two anonymous reviewers for their comments and suggestions, which have improved this work.
Appendix A: Preliminaries and Probability of Fixation
To obtain analytical results for the Wright–Fisher model of an unlinked neutral locus, as described in the main text, we use the diffusion approximation. Under this approximation time and allele frequencies are approximated as continuous quantities. The probability density of the frequency of the A allele at time t and frequency x, written f(x, t), obeys the diffusion equation
(A1) |
(Crow and Kimura 1970), where Ne(t) is the variance effective population size at time t. We solve Equation A1 subject to the condition that at time t = 0 all replicate populations start with the A allele at a frequency of y. This corresponds to the initial probability density
(A2) |
where δ(x) denotes a Dirac delta function of argument x.
To make the solution f(x, t) of Equation A1 mathematically well defined, it is necessary to impose conditions at the boundaries x = 0 and x = 1. We require that probability is conserved for all times and this leads us to impose the condition that the probability current, defined by , vanishes at the boundaries (McKane and Waxman 2007):
(A3) |
A consequence of Equation A3 is that fixation and loss are included in the solution of Equation A1 in the form of Dirac delta functions located at x = 0 and x = 1 (McKane and Waxman 2007; Waxman 2011a). The total integrated probability density, which includes contributions of the delta functions at the boundaries, then has the value of unity for all times. This property of the solution of the diffusion equation is in accordgance with the probability distribution of the Wright–Fisher model, which has a sum over all frequency states of unity.
Proof
We now prove that the probability of the ultimate fixation or loss of a neutral allele is independent of the way that the effective population size, Ne(t), changes over time, subject to a mild restriction on Ne(t).
Proceeding, we write for the expected value and have . Multiplying Equation A1 by x or x2, integrating over all x, and using Equation A3 yields
(A1) |
and
(A5) |
The initial frequency, X(0), has the precise value of y since f(x, t) satisfies Equation A2. Defining
(A6) |
the solutions of Equations A4 and A5 are and . If
(A7) |
then . That is, at large t, converges to . The only way this dispersionless convergence can come about is if limt→∞f(x, t) = (1 − y)δ(x) + yδ(1 − x). The coefficient of δ(1 − x) in this expression is the long time fixation probability (McKane and Waxman 2007) and equals the initial frequency, y, of the A allele. Similarly, the long time probability of loss is 1 − y. These long time results for the probabilities of fixation and loss are independent of Ne(t) and hence apply for static or time-dependent Ne, providing only that the condition of Equation A7 holds. This condition is fairly mild: for example, any Ne(t) that is bounded from above [Ne(t) < ∞ for all t] will lead to Equation A7 holding. Populations that grow too rapidly at large t, such as exponentially growing populations, will violate Equation A7, but this should not be problematic since such indefinite growth is not biologically feasible.
Appendix B: Establishing Properties of the R Statistic
In this Appendix we establish that under the diffusion approximation, the statistic
(B1) |
has a probability distribution that depends upon only a single parameter, namely the frequency of the A allele at time t = 0. In particular, the probability density of R is independent of the form of Ne(t).
To establish the claimed property of R, let A(t | y, u) denote the probability that X(t) = 1, given that X(u) = y. The probability A(t | y, u) appears within part of the solution of the forward diffusion equation and therefore also obeys the backward diffusion equation
(B2) |
and is subject to the initial and boundary conditions A(t | y, t) = 0 for 0 < y < 1, A(t | 0, u) = 0 for u ≤ t, and A(t | 1, u) = 1 for u ≤ t.
By changing the time variable in the backward diffusion equation, Equation B2, from u to the quantity , it may be verified that the initial and boundary conditions depend only on y and and do not depend on t. Accordingly, A(t | y, u) depends only on y and and we can therefore write
(B3) |
for some function Gy(r). Properties of Gy(r) follow from properties of A(t | y, u). From Equations B2 and B3 it follows that Gy(r) obeys
(B4) |
Furthermore, Gy(r) is subject to the initial condition
(B5) |
and the boundary conditions
(B6) |
Additionally, Gy(r) also satisfies
(B7) |
since Gy(∞) ≡ A(∞| y, u) = y is the probability of ultimate fixation of a neutral allele (see Appendix A).
We can determine Gy(r) by solving Equation B4 subject to Equations B5 and B6. However, this is not necessary since we can infer the form of Gy(r) from an existing result in the literature. We note that the probability A(t | y, u), when u = 0 and for a population of fixed size, has been found by Kimura (1955) and depends only on t and Ne in the combination t/(4Ne). Because of Equation B3, we can take Kimura’s solution and replace t/(4Ne) by r to obtain the form for Gy(r). It is often convenient to work with the quantity Gy(r)/y. Accordingly, we define
(B8) |
and then find from Kimura’s form for A(t | y u) that
(B9) |
where λn = (n + 1)(n + 2) and denotes a Gegenbauer polynomial in y of order 3/2 and degree n (Abramowitz and Stegun 1964). In the limit of small y we write Fy(r) as F0(r). In this regime a simple approximate form for A(t | y, u) is known (Waxman 2011b) and hence we have the simple approximation for F0(r):
(B10) |
Since the process of fixation among replicate populations is irreversible (once a replicate population has fixed, it remains fixed), the quantity A(t | y, u) is the probability that fixation has actually occurred within the time interval u to t. That is, A(t | y, u) is the probability that fixation has occurred by time t. It follows that for populations where fixation ultimately occurs, the random time at which fixation occurs, written Tfix, obeys
(B11) |
Strictly, the probability on the left-hand side should indicate that it is conditional on fixation ultimately occurring. Given, however, that Tfix is not defined unless fixation will ultimately occur, we adopt the simpler notation where this conditioning is left implicit.
Equation B11 can be written for any u ≤ t as and completely equivalently, we have
(B12) |
Restricting ourselves to the special case of u = 0, so Tfix is the amount of time that elapses before the mutant allele fixes (if u ≠ 0, the amount of time that elapses before fixation is Tfix − u), we can write Equation B12 as
(B13) |
where R is the random variable given in Equation B1.
We thus have established that the function of r given by Fy(r) is, by virtue of Equation B13, the cumulative distribution function of the random variable R, and this depends on only one parameter, namely y, the initial frequency of the A allele. Differentiating Fy(r) with respect to r yields the probability density of r, and this also depends on the single parameter y.
Appendix C: Deriving Expressions for the Mean and Variance of R
In this Appendix we determine expressions for the mean and variance of the statistic R defined in Equation 1 of the main text.
Moments of R are expectations of the form E[Rn | X(0) = y] with n = 1, 2, … , which we write in the shorter form Ey[Rn]. The probability density of R is the derivative, with respect to r, of the cumulative distribution function of R. Here, following Appendix B, we write the cumulative distribution function of R as G(r, y)/y. Accordingly,
(C1) |
We write
(C2) |
where
(C3) |
Because of Equation B6, we take
(C4) |
From Equation B4 we can establish equations that the Jn(y) obey. We write Equation B4 as . Multiplying this equation by rn and integrating from r = 0 to r = ∞ yields . An integration by parts yields
(C5) |
When n = 0, there is a contribution from the boundary term on the right-hand side at r = 0, while for n > 0 there is no such contribution. It follows that
(C6) |
and
(C7) | (C7) |
The solution to Equation C6, subject to Equation C4, is J0(y)=−(1 − y)ln(1 − y). The corresponding solution to Equation C7 for n = 1 is , where dilog(x) denotes the dilogarithm function: (Abramowitz and Stegun 1964). We have not found a particularly simple expression for J2(y); however, a small y expansion can be determined if required.
We can now determine Ey[R], which equals J0(y)/y:
(C8) |
Also, we have Ey[R2] = 2J1(y)/y, i.e.,
(C9) |
where denotes the dilogarithm function (Abramowitz and Stegun 1964). The result for the variance in the main text follows directly by combining the results of Equations C8 and C9:
(C10) |
Appendix D: Illustrating the Independence of the Distribution of R on Population Behavior
In this Appendix we present a set of results for the statistic R of Equation 1 to illustrate the independence of its distribution on the way population size changes over time, as predicted by the diffusion approximation. To obtain data we carried out individually based simulations of a neutral population that evolves in discrete time. These simulations used binomial sampling of individuals in discrete time, which results in the effective and actual population sizes coinciding: Ne(t) = N(t). In Figure D1, five quite different forms of N(t) have been adopted, ranging from logistic growth to logistic decay.
For each case of N(t) shown in Figure D1, the fate of the mutants was followed in 106 replicate populations. As expected, a fraction very close to y of these replicate populations underwent fixation. For a given population behavior, the times of fixation were recorded in the different replicate populations where fixation occurred. If fixation occurred in a replicate population at time tfix, then the statistic corresponding to R of Equation 1 was taken to be the discrete analogue of the integral, namely . With a single copy of a mutant allele initially present, the mean times to fixation for the population behaviors a–e in Figure D1 differed among themselves by considerable amounts, >200% (see Table D1). The mean values of the R statistic for the different population behaviors were all within 2% of the value predicted by Equation 5. We also used Equation 6 to predict the variance of R for Figure 1. The variances of R determined from cases a–e in Figure D1 were all within 7% of the predicted value—see Table D1.
Table D1 . Results from individually based simulations for the fixation of a neutral mutant allele are given for the population behaviors illustrated in Figure D1.
Ey[R] (% error) | Vary[R] (% error) | Ey[T] | |
---|---|---|---|
a: Logistic growth | 1.001 (−0.338) | 0.294 (−1.268) | 625.6 |
b: Discontinuous jump | 0.995 (0.248) | 0.291 (−0.294) | 479.2 |
c: Variable | 0.978 (2.027) | 0.272 (6.658) | 361.1 |
d: Constant | 0.993 (0.453) | 0.280 (3.348) | 397.2 |
e: Logistic decay | 0.990 (0.770) | 0.292 (−0.593) | 268.8 |
The initial population size was 100 in all cases, and other parameters are given in the Figure D1 legend. The initial frequency of the mutant allele was y = 1/200 and 106 replicate populations were simulated for each of the five behaviors illustrated in Figure D1. The expectations and variances given are estimates from the simulations. For the mean and variance of R, the percentage errors, given in parentheses, are the errors of the diffusion results (given in Equations C8 and C10), relative to the simulation results.
To test the quality of the diffusion results for the mean time for fixation, we calculated the percentage error in this quantity, relative to the simulation results, for two cases. For the standard case of a constant population (curve d in Figure D1) we used the diffusion result E[Tfix] = 4NeEy[R]. For a discontinuous jump in the population size (curve b in Figure D1) we used the diffusion result Equation E5, employing Equation 4 of the main text, thereby approximating the initial frequency by zero. For both cases, the errors in the calculated mean times of fixation were found to be <1%.
Appendix E: Deriving Expressions for the Mean and Variance of the Time to Fixation
In this Appendix we establish expressions for the mean and the variance of the time to fixation.
Equation 7 of the main text reads Tfix = h(R) and we first determine Ey[(Tfix)a] with a an arbitrary positive number. With Fy(r) the cumulative probability distribution of R at value r (see Equation 2), we have
(E1) |
Taking a = 1 in Equation E1 leads to the following expression for the mean time to fixation:
(E2) |
There is an alternative way of writing the second form of this expression. We note that the function h(r) is formally defined by
(E3) |
Differentiating Equation E3 with respect to r leads to
(E4) |
and using this result in Equation E2 yields an alternative expression for the mean:
(E5) |
To determine an expression for the variance we use Vary(Tfix) = Ey[(Tfix)2]−(Ey[Tfix])2 and set a = 1 and a = 2 in Equation E1 to obtain Equation 9 of the main text.
Appendix F: Derivation of the Results for a Population-Size Jump Given in Equations 13 and 14 of the Main Text
In this Appendix we determine exact and approximate results for the mean time of fixation and its variance when the effective population size discontinuously jumps at time τ from Ne,0 to Ne,1, as given in Equation 10 of the main text.
To begin, we note that the function h(r), which relates Tfix to R, is formally defined by Equation E3. It may be verified that with Ne(t) given by Equation 10, h(r) is given by
(F1) |
where ρ = τ/(4Ne,0) is a scaled measure of the time of the population-size jump.
The mean of Tfix can be obtained from Equations E2 and F1 and takes the form
(F2) |
where
(F3) |
The variance of Tfix follows from Equations 9 and F1 and takes the form
(F4) |
where
(F5) |
We derive results for the case of vanishingly small initial frequencies (y → 0) and make extensive use of the following y → 0 forms of Equations C8 and C9:
(F6) |
Derivation of results for y → 0 and ρ ≪ 1
We used Equation 4 of the main text and obtained the following approximate results, which all have corrections of : A0≃ρ, A1≃1−ρ, B00 ≃ ρ2, B01 ≃ 2ρ(1 − ρ). For B11 we write , which leads to . Combining these results leads to E0[Tfix] ≃ ρ × 4Ne,0 + (1 − ρ) × 4Ne,1 and .
Derivation of results for y → 0 and ρ ≃ 0.51 or ρ = 1
Results for these cases were obtained using Equation 4 of the main text and numerically determining the coefficients in Equations F3 and F5.
Derivation of results for y → 0 and ρ ≥ 2
We used Equation 4 of the main text and obtained the following results: , , , B01≃3ρe−2ρ, and . Combining these results gives and on neglecting terms of O(e−4ρ) gives .
Appendix G: Mean and Variance of the Time to Fixation When Ne Has a Period of Linear Growth
In this Appendix we consider a situation outlined in the main text, where population size increases linearly, for a finite period of time, and then remains constant, as given in Equation 15 of the main text. We give results only for the case of vanishingly small initial frequencies (y → 0).
In terms of the quantity r0 defined by
(G1) |
the function h(r) defined by Equation E3 can be verified to be given by
(G2) |
To determine the mean time to fixation, we use Equations G2 and E2 to obtain
(G3) |
where
(G4) |
The variance follows from Equations G2 and 9 and takes the form
(G5) |
where
(G6) |
We derive results for just the τ dependence of E0[Tfix] and Var0(Tfix). The results obtained are restricted to large τ, such that r0 (given in Equation G1) > 2.
We make extensive use of Equation 4 of the main text.
With c1 and c2 constants with respect to τ we can write
These lead to
(G7) |
(G8) |
Assuming that τ is sufficiently large that γeτ ≫ Ne,0, Equation G1 allows us to write . Using this result, and the parameter p defined by , we find that the τ dependence in Equations G7 and G8 takes the form given in Equations 17 and 18 of the main text.
Appendix H: Derivation of an Inequality for Ey[Tfix]
In this Appendix we establish an inequality for Ey[Tfix] that applies when Ne(t) increases with t.
We write the condition that Ne(t) increases with t as
(H1) |
We note that because of Equations E4 and H1, the function h(r) is convex (d2h(r)/dr2 > 0). We can thus employ Jensen’s inequality, which for φ(r) convex reads E[φ(R)] > φ(E[R]) (Gradsteyn and Ryzhik 1980), and hence obtain Ey[h(R)] > h(Ey[R]). Since Ey[Tfix] = Ey[h(R)] (using Equation 7 of the main text), we have
(H2) |
We write this inequality in a different way that allows additional development. From Equation E4 we obtain and hence Equation H2 is equivalent to
(H3) |
Because of Equation H1, we have Ne(v) > Ne(0) for v > 0 and using Equation E3 gives ; i.e., h(r) > 4Ne(0)r. Using Equation H1 again then yields 4Ne(h(v)) >4Ne(4Ne(0)v), which can be used in Equation H3 to yield . The change of variable 4Ne(0)v → v gives , which is equivalent Equation 20 of the main text.
Footnotes
Communicating editor: N. A. Rosenberg
Literature Cited
- Abramowitz M., Stegun I., 1964. Handbook of Mathematical Functions. Dover, New York [Google Scholar]
- Crow J. F., Kimura M., 1970. An Introduction to Population Genetics Theory. Harper & Row, New York [Google Scholar]
- Dykehuizen D. E., Hartl D. L., 1980. Evolution of selective neutrality: further considerations. Selective neutrality of 6PGD allozymes in E. coli and the effects of genetic background. Genetics 96: 801–817 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Engen S., Lande R., Saether B., 2009. Fixation probability of beneficial mutations in a fluctuating population. Genet. Res. 91: 73–82 [DOI] [PubMed] [Google Scholar]
- Ewens W. J., 2004. Mathematical Population Genetics, Ed. 2. Springer, New York [Google Scholar]
- Fisher R. A., 1930. The Genetical Theory of Natural Selection. Clarendon Press, Oxford [Google Scholar]
- Gillespie J. H., 1994. The Causes of Molecular Evolution. Oxford University Press, New York [Google Scholar]
- Gillespie J. H., 2004. Population Genetics: A Concise Guide, Ed. 2 Johns Hopkins University Press, Baltimore [Google Scholar]
- Gradsteyn I. S., Ryzhik I. M., 1980. Table of Integrals, Series and Products. Academic Press, London [Google Scholar]
- Kimura M., 1955. Solution of a process of random genetic drift with a continuous model. Proc. Natl. Acad. Sci. USA 41: 141–150 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kimura M., 1970. The length of time required for a selectively neutral mutant to reach fixation through random frequency drift in a finite population. Genet. Res. 15: 131–133 [DOI] [PubMed] [Google Scholar]
- Kimura M., 1983. The Neutral Theory of Molecular Evolution. Cambridge University Press, Cambridge, UK [Google Scholar]
- Kimura M., Ohta T., 1969. The average number of generations until fixation of a mutant gene in a finite population. Genetics 61: 763–771 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Maruyama T., 1977. Stochastic Problems in Population Genetics (Lecture Notes in Biomathematics, Vol. 17). Springer, Berlin [Google Scholar]
- McKane A. J., Waxman D., 2007. Singular solutions of the diffusion equation of population genetics. J. Theor. Biol. 247: 849–858 [DOI] [PubMed] [Google Scholar]
- Nei M., Suzuki Y., Nozawa M., 2010. The neutral theory of molecular evolution in the genomic era. Annu. Rev. Genomics Hum. Genet. 11: 265–289 [DOI] [PubMed] [Google Scholar]
- Otto S. P., Whitlock M., 1997. The probability of fixation in populations of changing size. Genetics 146: 723–733 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Parsons T. L., Quince C., 2007. Fixation in haploid populations exhibiting density dependence I: the non-neutral case. Theor. Popul. Biol. 72: 121–135 [DOI] [PubMed] [Google Scholar]
- Parsons T. L., Quince C., Plotkin J. B., 2010. Some consequences of demographic stochasticity in population genetics. Genetics 185: 1345–1354 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Uecker H., Hermisson J., 2011. On the fixation process of a beneficial mutation in a variable environment. Genetics 188: 915–930 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Waxman D., 2011a Comparison and content of the Wright–Fisher model of random genetic drift, the diffusion approximation, and an intermediate model. J. Theor. Biol. 269: 79–87 [DOI] [PubMed] [Google Scholar]
- Waxman D., 2011b A compact result for the time-dependent probability of fixation at a neutral locus. J. Theor. Biol. 274: 131–135 [DOI] [PubMed] [Google Scholar]
- Waxman D., 2011c A unified treatment of the probability of fixation when population size and the strength of selection change over time. Genetics 188: 907–913 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wright S., 1931. Evolution in Mendelian populations. Genetics 16: 97–159 [DOI] [PMC free article] [PubMed] [Google Scholar]