Abstract

Frequency-dependent selection (FDS) remains a common heuristic explanation for the maintenance of genetic variation in natural populations. The pairwise-interaction model (PIM) is a well-studied general model of frequency-dependent selection, which assumes that a genotype’s fitness is a function of within-population intergenotypic interactions. Previous theoretical work indicated that this type of model is able to sustain large numbers of alleles at a single locus when it incorporates recurrent mutation. These studies, however, have ignored the impact of the distribution of fitness effects of new mutations on the dynamics and end results of polymorphism construction. We suggest that a natural way to model mutation would be to assume mutant fitness is related to the fitness of the parental allele, i.e., the existing allele from which the mutant arose. Here we examine the numbers and distributions of fitnesses and alleles produced by construction under the PIM with mutation from parental alleles and the impacts on such measures due to different methods of generating mutant fitnesses. We find that, in comparison with previous results, generating mutants from existing alleles lowers the average number of alleles likely to be observed in a system subject to FDS, but produces polymorphisms that are highly stable and have realistic allele-frequency distributions.

IT has been nearly 50 years since molecular techniques first revealed the ubiquity of genetic variation in nature (Hubby and Lewontin 1966). Neutral theories of the maintenance of variation (Ohta 1973; Kimura 1984) remain the dominant framework underlying most population-genetic models, but we now know that most, if not all, genetic variation is subject to some degree of natural selection (Hahn 2008). Despite a rich theoretical and empirical literature on the subject, however, pinning down the mechanisms that allow selective maintenance of genetic variation remains a stubborn challenge (Leffler et al. 2012).

Early theoretical work in this area focused on the maintenance of diallelic polymorphisms (e.g., Levene 1953; Li 1955; Lewontin 1958; Haldane and Jayakar 1963; Hedrick 1986), largely for mathematical convenience. Unfortunately, the results of diallelic approaches quite often do not scale up to the multiallelic case in intuitive or analytically tractable ways (Gillespie 1977; Lewontin et al. 1978; Karlin 1981; Clark and Feldman 1986; Matessi and Schneider 2009; Muirhead and Wakeley 2009; Nagylaki 2009; Schneider 2009; Waxman 2009). Empirical studies confirm that nonneutral polymorphisms with more than two alleles are very common (Keith 1983; Keith et al. 1985; Bradley et al. 1993; Moriyama and Powell 1996; Hahn 2008). MHC loci, to name one extreme example, can have hundreds of alleles (for a review, see Garrigan and Hedrick 2003).

The standard approach to modeling the maintenance of selected polymorphism—what we call the “parameter-space approach”—has been to generate large numbers of fitness sets, either randomly (Lewontin et al. 1978; Clark and Feldman 1986; Asmussen and Basnayake 1990; Gimelfarb 1998) or using some preselected patterns (Karlin 1981), to systematically search the available parameter space to assess which selection regimes and what proportion of parameter space maintain variation for a given number of alleles. This proportion is interpreted as an estimate of the “potential” for variation under a given selection regime. These types of models have typically found that the proportion of randomly generated fitness sets that maintain variation becomes vanishingly small for n > 5 alleles if viability is assumed to be constant (Gillespie 1977; Lewontin et al. 1978); the same holds true in models of constant fertility selection (Clark and Feldman 1986).

It is far more biologically reasonable to expect selection pressures to change in space or time, however (Kojima 1971). Modern hypotheses to explain selective polymorphism have included heterozygote advantage (e.g., Kekäläinen et al. 2009; Spurgin and Richardson 2010; Sellis et al. 2011), spatially heterogeneous selection (e.g., Hedrick 1986; Star et al. 2007a,b; Nagylaki 2009), and sexual antagonism (Curtsinger et al. 1994; Foerster et al. 2007; Hall et al. 2010; Mokkonen et al. 2011; Connallon and Clark 2012). Nevertheless, the most common heuristic invoked to explain nonneutral variation in natural systems remains frequency-dependent selection (FDS) (see Sinervo and Calsbeek 2006 for a review).

FDS describes any selection regime where a genotype’s fitness depends on the frequencies of its own or other genotypes in the population. Negative frequency dependence (selection in favor of rare alleles) is often invoked to explain polymorphism, since if it is beneficial to be rare, it is also difficult to go extinct. Conversely, positive frequency dependence (selection in favor of common alleles) is expected to eliminate variation. It is important to note that simple positive FDS and negative FDS are extremes at opposite ends of a continuum. Intraspecific interactions such as mate choice (e.g., Hughes et al. 1999) and alternative mating strategies (Sinervo and Lively 1996) have been shown to produce both negative and positive FDS, sometimes both within the same population (see Sinervo and Calsbeek 2006 for a review). Interspecific interactions such as mimicry (e.g., Borer et al. 2010), host–parasite coevolution (Dybdahl and Lively 1998; Koskella and Lively 2009), and predator–prey dynamics (e.g., Olendorf et al. 2006; Marples and Mappes 2010) can produce negative FDS, positive FDS, and other more nuanced FDS regimes. The diversity of FDS regimes observed in nature suggests that any investigation of the potential for genetic variation under FDS should use a very general model.

Here we restrict ourselves to the study of FDS that results from intraspecific interactions. The most general model of this kind of FDS is the discrete-time pairwise-interaction model (PIM) (Cockerham et al. 1972), which parameterizes fitness as a product of intraspecific competition at the genotype level. This approach provides a biologically reasonable way to model frequency-dependent viabilities, conceptually similar to the payoff matrix of evolutionary game-theoretic models (Maynard Smith 1982). The wildcard model of FDS (Matessi and Schneider 2009 and references therein) is a continuous-time analog to the PIM in the specific case of symmetric fitness interactions. The wildcard model leads to several useful results for multiple alleles (see Schneider 2009), but the requirement of symmetric interactions limits its generality. We are interested in exploring the full parameter space of frequency-dependent selective scenarios, and for our purposes the discrete-time PIM provides the most general framework available.

In the PIM each genotype is assumed to have a constant interaction fitness with every other genotype in the population. Assuming random mixing of individuals, the frequencies of interactions are given by the product of the frequencies of the interacting genotypes, and the total fitness of a genotype is a weighted sum of its fitnesses in interactions with all genotypes. This general formulation allows the PIM to parameterize a wide range of FDS regimes (positive, negative, balancing, and disruptive), as well as constant selection as a special case. A recent investigation of the potential for polymorphism under the PIM, using the parameter-space approach, found that FDS has a higher potential for variation than the equivalent constant viability model for any given number of alleles (Trotter and Spencer 2007). It was also found that a wide variety of flavors of FDS, not simply negative FDS, have potential for polymorphism under the PIM.

The traditional parameter-space approach, while informative, ignores the process of mutation and invasion that necessarily underlies the development of any natural polymorphism. An alternative, the so-called “constructionist” approach to modeling the maintenance of genetic variation, is analogous to some models of ecological community construction (Nee 1990). In a constructionist model, polymorphisms (communities) develop from monomorphisms (single species). New mutant alleles (species) are introduced at a set rate of mutation (migration) and allowed to invade or be repulsed by the existing system based on their relative fitnesses. Early constructionist models of genetic variation found that constant viability can easily generate intermediate numbers of alleles (Spencer and Marks 1988, 1992; Marks and Spencer 1991). A recent model of polymorphism construction using the PIM (Trotter and Spencer 2008) found FDS with recurrent mutation can result in very high levels of single-locus polymorphism.

A defining feature of this last model was the assumption that new mutant interaction fitnesses be drawn from a uniform distribution on [0, 1]. However, this method ignores the reality that new mutations result from changes (usually small) to an existing allele. This relationship suggests a more natural way to model mutants arising from within the population might be to have mutant fitnesses be some function of the fitness of a “parental” allele from which they descend. Because the vast majority of new mutations are neutral or weakly deleterious (Eyre-Walker and Keightley 2007), simulated mutants should be on average similar to, but less fit than, their parental allele. The model of Spencer and Marks (1992) incorporated mutation from existing alleles (parental allele, Ap, mutated to a novel allele, Am) in a constructionist approach to modeling the maintenance of variation by constant viability selection. In their models, the viabilities of mutant AiAm genotypes (wim) were drawn from distributions centered just below the fitness of the equivalent parental genotype AiAp (wip); hence most mutants were slightly deleterious. In this study, we incorporate mutation from existing alleles into constructionist approaches, using the PIM of FDS.

Models

We model selection acting on a large, isolated, randomly mating monoecious population of diploid organisms with nonoverlapping generations. Under the PIM, each genotype AiAj has constant fitnesses (wij,kl) in its interactions with the other genotypes AkAl in the population (i, j, k, l = 1, 2, …, n). These interaction fitnesses collectively define the fitness set. We assume AiAj is equivalent to AjAi, and so wij,kl = wji,kl = wij,lk = wji,lk.

When adding a new allele to an n-allele system with PIM fitnesses, there are several different types of interactions that need to be parameterized and (n + 1)3 new interaction fitnesses that must be generated. This extra dimension of fitness makes linking mutant fitnesses to a parental allele a more complicated endeavor. The addition of a new allele, An+1, results in n + 1 new genotypes, each of which must be assigned interaction fitnesses for their interactions with the n(n+1)/2 existing genotypes and the n + 1 new genotypes. We refer to these interaction fitnesses as the mutant fitnesses. In addition, each existing genotype must also be given n + 1 new interaction fitnesses, corresponding to their interactions with each of the new genotypes. We refer to these as the mutant impacts, as they represent the change to the fitnesses of existing genotypes due to their interactions with the new mutant. The number of elements in the updated fitness set, the sum of the number of mutant fitnesses and impacts therefore, is

(n+1)(n(n+1)2+(n+1))+(n(n+1)2)(n+1)=(n+1)3.

We use four separate cases of the PIM construction model, as detailed below, to investigate the consequences of different methods of generating mutant fitnesses and mutant impacts. The first two cases illustrate the effects of generating mutant fitnesses related to a given existing allele’s fitnesses. The second pair of cases illustrates the additional changes in model behavior resulting from generating mutant impacts related to the existing impacts of a given parental allele. For all cases, we are interested in the levels and stability of polymorphism and distributions of fitness produced by construction under the PIM with mutation from existing alleles and the impacts on such measures due to the different methods of generating fitnesses.

The constructionist approach to modeling selection has three stages each generation: mutation, selection, and extinction check.

Mutation

Every generation, an allele existing in the population is chosen to mutate. (For the effects of different mutation rates, see File S1.) The probability of a given allele (Ai) being chosen as a “parent” allele is proportional to its frequency in the population, pi. The frequency of the parental allele (Ap) is then decremented by 10−6 and the mutant allele (Am, where m = n + 1) is introduced at frequency of 10−6. We assume this implied population size of N = 5 × 105 is large enough to ignore the effects of random drift. New interaction fitnesses are added to the fitness set in three stages. First, the preexisting genotypes (AiAj) are assigned fitnesses in their interactions with the new mutant genotypes (AkAm). These fitnesses, wij,km, represent the “impact” of the new mutant on the fitness of existing genotypes. Second, the new mutant genotypes are assigned fitnesses in their interactions with the preexisting genotypes, wkm,ij. Finally, the mutant genotypes are assigned fitnesses in their interactions with the other mutant genotypes, wim,km.

We investigated five different methods for generating the required new interaction fitnesses after the addition of mutant alleles. A summary of the methods of generating fitnesses used in each case can be found in Table 1.

Guide to the cases of the PIM

Table 1
Guide to the cases of the PIM
Casewij,km  (existing  vs.  mutant)wkm,ij  (mutant  vs.  existing)wkm,im  (mutant  vs.  mutant)
0U[0, 1]U[0,1]U[0, 1]
1U[0, 1]αkp,ijwkp,ijαkp,ipwkp,ip
2U[0, 1]αkp,ijwkp,ij, where kmαkp,ipwkp,ip, where km
βpp,ijwpp,ij, where k = mβpp,ipwpp,ip, where k = m
3wij,kpαkp,ijwkp,ijαkp,ipwkp,ip
4αij,kpwij,kpαkp,ijwkp,ijαkp,ipwkp,ip
Casewij,km  (existing  vs.  mutant)wkm,ij  (mutant  vs.  existing)wkm,im  (mutant  vs.  mutant)
0U[0, 1]U[0,1]U[0, 1]
1U[0, 1]αkp,ijwkp,ijαkp,ipwkp,ip
2U[0, 1]αkp,ijwkp,ij, where kmαkp,ipwkp,ip, where km
βpp,ijwpp,ij, where k = mβpp,ipwpp,ip, where k = m
3wij,kpαkp,ijwkp,ijαkp,ipwkp,ip
4αij,kpwij,kpαkp,ijwkp,ijαkp,ipwkp,ip
Table 1
Guide to the cases of the PIM
Casewij,km  (existing  vs.  mutant)wkm,ij  (mutant  vs.  existing)wkm,im  (mutant  vs.  mutant)
0U[0, 1]U[0,1]U[0, 1]
1U[0, 1]αkp,ijwkp,ijαkp,ipwkp,ip
2U[0, 1]αkp,ijwkp,ij, where kmαkp,ipwkp,ip, where km
βpp,ijwpp,ij, where k = mβpp,ipwpp,ip, where k = m
3wij,kpαkp,ijwkp,ijαkp,ipwkp,ip
4αij,kpwij,kpαkp,ijwkp,ijαkp,ipwkp,ip
Casewij,km  (existing  vs.  mutant)wkm,ij  (mutant  vs.  existing)wkm,im  (mutant  vs.  mutant)
0U[0, 1]U[0,1]U[0, 1]
1U[0, 1]αkp,ijwkp,ijαkp,ipwkp,ip
2U[0, 1]αkp,ijwkp,ij, where kmαkp,ipwkp,ip, where km
βpp,ijwpp,ij, where k = mβpp,ipwpp,ip, where k = m
3wij,kpαkp,ijwkp,ijαkp,ipwkp,ip
4αij,kpwij,kpαkp,ijwkp,ijαkp,ipwkp,ip

General case

In the general form of the model, hereafter referred to as case 0, all new interaction fitnesses are drawn from the uniform distribution on [0, 1]. This method implies independence between the fitnesses of the parental and mutant alleles and the impact of the new allele on existing genotypes. The data shown for this case are taken from Trotter and Spencer (2008) and are used as the basis for comparison for the other cases.

Case 1

Empirical data suggest that the majority of new mutations are slightly deleterious (Mukai et al. 1966; Eyre-Walker and Keightley 2007). Consequently, in all further cases we model mutant fitnesses (wkm,ij) to be, on average, slightly lower than the equivalent parental fitness. In this first case of mutation from existing alleles, we continue to draw the wij,km impacts from the uniform distribution on [0, 1]. Each new mutant interaction fitness (wkm,ij), however, is now a function of the existing interaction fitness (wkp,ij) of the corresponding parental genotype (AkAp) and is given by αkp,ijwkp,ij. We draw the α from a rescaled beta-distribution on [0, 1.5] that is conditioned to have mean μα and variance σ2α. Note that a new, independent, α is drawn for every new mutant interaction fitness. For all our cases, we set 0 < μα < 1 and assume σ2α to be small. By rescaling the distribution of α in this way, we avoid negative fitnesses, but beneficial mutations (α > 1) remain possible but rare. In case 1, we set μα = 0.95, σ2α = 0.001, to produce primarily mutations of moderately negative effect, with rare beneficial mutations (<5%). (For details of the effects of varying μα and σ2α see File S1.)

We set homozygous mutants AmAm to be lethal with probability 0.05. (Interestingly, it turns out that models omitting this rare lethality produce nearly identical outcomes of polymorphism construction; see File S1.) In the case of lethality, all wmm,ij = 0; otherwise homozygote fitnesses are generated using the same method for all other wkm,ij.

Case 2

A previous model of mutation from existing alleles (Spencer and Marks 1992) assumed that heterozygote and homozygote fitnesses are drawn from slightly different distributions (with heterozygotes being, on average, fitter than homozygotes). For purposes of direct comparison with that model, we here recreate it using our PIM approach. We continue to draw the wij,km impacts from the uniform distribution on [0, 1]. Each mutant interaction fitness (wkm,ij) is a function of the existing interaction fitness (wkp,ij) of the corresponding parental genotype (AkAp) and is given by αkp,ijwkp,ij, where each α is drawn from a rescaled beta-distribution on [0, 1.5] with μα=0.95,σα2=0.001 for heterozygotes (i.e., when km), and by βkp,ijwkp,ij, where each β is drawn from a rescaled beta-distribution on [0, 1.5] with μβ=0.9,σβ2=0.002 for homozygotes (i.e., when k = m).

Case 3

In this case, as in case 1, both homozygote and heterozygote mutant fitnesses are functions of the existing interaction fitness (wkp,ij) of the corresponding parental genotype (AkAp) and are given by αkp,ijwkp,ij, where each α is drawn from a rescaled beta-distribution on [0, 1.5] with μα=0.95,σα2=0.001. We know from the general construction PIM for FDS (Trotter and Spencer 2008) that the impacts, the wij,km, greatly affect the likelihood of allele Am successfully invading the polymorphism. A mutant allele that leads to low values of wij,km will drag down the fitnesses of existing alleles, thereby improving its own chances of invading the polymorphism. In this case, instead of drawing the wij,km from the uniform distribution, we assume the wij,km are strictly equal to the impacts of the parental allele wij,kp.

Case 4

In this case, instead of the wij,km being strictly equal to the equivalent parental fitness, we assume they have, on average, a slightly deleterious effect on existing genotypes. This deleterious effect is accomplished by setting all new interaction fitnesses as functions of the existing interaction fitness (wkp,ij) of the corresponding parental genotype (AkAp) and is given by αkp,ijwkp,ij, where each αijk is drawn from a rescaled beta-distribution on [0, 1.5] with μα=0.95,σα2=0.001. As a result, this case produces mutant alleles that have low fitness, but that are also good invaders. This case is motivated less by biological realism (we know of no reason to expect mutations to be biased in favor of negative impacts in this way) and more as a test of whether a mutant’s fitnesses, or its impact on other genotypes, are more important to invasion success.

Selection and extinction

Overall genotypic fitnesses, wij, are linear functions of the interaction fitnesses with all other genotypes in the model, weighted by the frequencies of all interacting genotypes:
wij=k=1nl=1npkplwij,kl.
The marginal fitness of allele Ai is the sum of fitnesses for all genotypes involving Ai, weighted by their frequencies: wi=j=1npjwij.
After the mutant fitnesses have been added to the fitness set, allele frequencies are updated according to the standard population genetics equation
pi=piwiw¯,
(1)
where pi is the frequency of allele i at generation t, and w¯ is the mean fitness of the population at generation t. The change in allele frequency after selection is thus Δp=pipi. After allele frequencies are updated, alleles whose frequencies fall below 10−6 (our implied 1/2N) are considered to be extinct and are removed from the system.

Each model run was initialized with a single allele with fitness wi=0.5. Each generation we recorded the numbers, ages, and frequencies of all alleles and also the mean fitness. After 10,000 such generations had passed, we recorded fitness sets, as well as numbers and frequencies of alleles. Since FDS construction systems do not converge to a steady state (see Trotter and Spencer 2008), we wanted to run the mutation process for long enough to avoid sampling during the initial transient period, but not so long that assuming selection to be consistent for that many generations is unreasonable. The mutation process was halted after 10,000 generations and the system was allowed to continue iterating to equilibrium (defined as either a monomorphic equilibrium or a polymorphic equilibrium with |Δpi| < 10−8 for all i). At equilibrium, final measurements of the numbers, ages, and frequencies of alleles and the mean fitness were recorded. The equilibrium statistics indicate how much of the “snapshot” variation is transient and how much is likely to be permanent, as well as providing a means of comparing the results of the construction approach with those of earlier parameter-space approaches. For each case, 1000 replicate runs, differing only in the pseudorandom number seed, were performed.

Results

Allele numbers

Distributions of numbers of alleles present at snapshot and at equilibrium for all cases are shown in Figure 1, and summary statistics for these distributions are found in Table 2.

Figure 1

Numbers of alleles present at snapshot (shaded) and at equilibrium (open) in 1000 runs each for all cases of PIM construction. A–E represent cases 0–4 in order.

Summary statistics for numbers of alleles present at snapshot and equilibrium taken across 1000 runs each of all cases of PIM

Table 2
Summary statistics for numbers of alleles present at snapshot and equilibrium taken across 1000 runs each of all cases of PIM
MinimumMeanMaximumVariance
CaseSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibrium
0117.43.431917.3781.883
1214.8533.81125199.90933.4507
2114.834.05127207.20633.0134
3225.9834.65115135.2744.0913
4213.9133.3142392.74421.1966
MinimumMeanMaximumVariance
CaseSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibrium
0117.43.431917.3781.883
1214.8533.81125199.90933.4507
2114.834.05127207.20633.0134
3225.9834.65115135.2744.0913
4213.9133.3142392.74421.1966
Table 2
Summary statistics for numbers of alleles present at snapshot and equilibrium taken across 1000 runs each of all cases of PIM
MinimumMeanMaximumVariance
CaseSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibrium
0117.43.431917.3781.883
1214.8533.81125199.90933.4507
2114.834.05127207.20633.0134
3225.9834.65115135.2744.0913
4213.9133.3142392.74421.1966
MinimumMeanMaximumVariance
CaseSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibriumSnapshotEquilibrium
0117.43.431917.3781.883
1214.8533.81125199.90933.4507
2114.834.05127207.20633.0134
3225.9834.65115135.2744.0913
4213.9133.3142392.74421.1966

In all cases, the model produced an initial transient increase and subsequent crash in n, followed by perpetual fluctuations (Figure 2). In all cases, at least 99% of runs had ≥2 alleles at snapshot, while at equilibrium monomorphism was rare but possible (0.1–3% of runs). Case 4 produced snapshot polymorphisms with smallest average n (3.9 alleles), which is unsurprising since its mutation process draws all new interactions from distributions centered below the mean of existing fitnesses. Case 1 generated on average more alleles than case 2, despite case 2 having built-in heterozygote advantage. This trend is counter to the intuitive idea that, all else being equal, heterozygote advantage promotes polymorphism. Case 3 typically generated snapshot polymorphisms with the most alleles (∼6 on average).

Figure 2

Time series data for numbers of alleles (n, thick solid line) and mean fitness (w¯, dashed line) for randomly selected sample runs of all five cases with mutation from parental alleles. A–E represent cases 0–4 in order.

Mean fitness

Examples of the trajectories of mean fitness and allele number from all cases are illustrated in Figure 2. Each case occasionally (but rarely) produced fluctuating mean fitness trajectories such as those shown in Figure 3. During these fluctuations, while n remains constant the mean fitness decreases to some threshold, at which point multiple invasions occur and the mean fitness rebounds. A sharp spike in mean fitness often coincides with multiple extinctions as a highly fit allele drives others out.

Figure 3

Close-up of an example of mean fitness oscillations from case 3 data. Cases 1–4 all occasionally produce these kinds of qualitatively repetitive dynamics.

Potential for polymorphism

The potential for polymorphism has been defined as the proportion of random initial allele frequencies and fitness sets that maintain all alleles under a given model (Lewontin et al. 1978; Asmussen and Basnayake 1990; Asmussen et al. 2004; Star et al. 2007a; Trotter and Spencer 2007, 2008). In the context of construction approaches, we measure potential as the proportion of model runs that maintained all alleles present at snapshot, at equilibrium. All four mutation-from-existing-alleles cases had a higher proportion of runs maintain all snapshot alleles than did the general case (see Figure 4). We see in Figure 4 that cases 3 and 4 appear to have slightly lower potential than cases 1 and 2 as n increases. Case 2 had an unusually large number of runs (83), maintaining six alleles at equilibrium.

Figure 4

Proportion of fitness sets, from all variations on the PIM, that maintained all snapshot alleles at equilibrium, starting from the snapshot allele-frequency vector.

Another method of measuring the potential for variation is to iterate each snapshot fitness set to equilibrium from many starting allele-frequency vectors (Star et al. 2007b). The proportion of vectors that maintain all snapshot alleles for a particular fitness set gives a measure of the domain of attraction of the fully polymorphic equilibrium for that set. Star et al. (2007b) used this method to partition their equilibrium fitness sets into three classes: type I fitness sets maintain full polymorphism from all initial conditions and can be considered to have globally stable equilibria; type II fitness sets maintain all alleles from only a subset of all start vectors and thus have locally stable equilibria; and type III fitness sets lose at least one allele from all initial conditions, implying that some of the snapshot polymorphism is always transient. Numbers of type I, II, and III fitness sets from all PIM construction cases can be found in Table 3. In all cases, as n increases the proportion of type I fitness sets drops off dramatically. No type I fitness sets were found for n > 8. The proportion of type I polymorphisms drops off more slowly in case 3 than in other cases. Based on this measure of potential, then, case 3 appears to produce polymorphisms with larger domains of attraction.

The proportion of simulations leading to type I, II, or III fitness sets for each PIM construction model, listed by snapshot n

Table 3
The proportion of simulations leading to type I, II, or III fitness sets for each PIM construction model, listed by snapshot n
nTypeCase 0aCase 1Case 2Case 3Case 4
2I0.6000.480.5830.8260.712
II0.3330.520.4170.1740.288
III0.0670.000000
3I0.1430.2890.3960.3020.276
II0.6670.6670.5320.5100.613
III0.1900.0440.0720.1880.111
4I0.0160.0770.1350.0850.057
II0.7870.7470.7250.6620.690
III0.1970.1760.140.2530.253
5I0.0070.0230.0080.0590.027
II0.7390.6130.6440.5950.653
III0.2540.3640.3480.3460.320
6I0.0000.0000.0120.0560
II0.4730.4720.6750.5490.571
III0.5270.5280.3130.3950.429
7I0.0000.00000.0380
II0.5420.3250.5330.4730.25
III0.4580.6750.4670.4890.75
8I0.0000.00000.1060
II0.3460.3870.3750.4340.176
III0.6540.6130.6250.4600.824
9I0.0000.000000
II0.1720.3680.2690.270.167
III0.8280.6320.7310.730.833
10+I0.0000.000000
II0.1860.1740.1270.3290
III0.8140.8260.8730.6711
nTypeCase 0aCase 1Case 2Case 3Case 4
2I0.6000.480.5830.8260.712
II0.3330.520.4170.1740.288
III0.0670.000000
3I0.1430.2890.3960.3020.276
II0.6670.6670.5320.5100.613
III0.1900.0440.0720.1880.111
4I0.0160.0770.1350.0850.057
II0.7870.7470.7250.6620.690
III0.1970.1760.140.2530.253
5I0.0070.0230.0080.0590.027
II0.7390.6130.6440.5950.653
III0.2540.3640.3480.3460.320
6I0.0000.0000.0120.0560
II0.4730.4720.6750.5490.571
III0.5270.5280.3130.3950.429
7I0.0000.00000.0380
II0.5420.3250.5330.4730.25
III0.4580.6750.4670.4890.75
8I0.0000.00000.1060
II0.3460.3870.3750.4340.176
III0.6540.6130.6250.4600.824
9I0.0000.000000
II0.1720.3680.2690.270.167
III0.8280.6320.7310.730.833
10+I0.0000.000000
II0.1860.1740.1270.3290
III0.8140.8260.8730.6711
a

Data presented for case 0 are from Trotter and Spencer (2008).

Table 3
The proportion of simulations leading to type I, II, or III fitness sets for each PIM construction model, listed by snapshot n
nTypeCase 0aCase 1Case 2Case 3Case 4
2I0.6000.480.5830.8260.712
II0.3330.520.4170.1740.288
III0.0670.000000
3I0.1430.2890.3960.3020.276
II0.6670.6670.5320.5100.613
III0.1900.0440.0720.1880.111
4I0.0160.0770.1350.0850.057
II0.7870.7470.7250.6620.690
III0.1970.1760.140.2530.253
5I0.0070.0230.0080.0590.027
II0.7390.6130.6440.5950.653
III0.2540.3640.3480.3460.320
6I0.0000.0000.0120.0560
II0.4730.4720.6750.5490.571
III0.5270.5280.3130.3950.429
7I0.0000.00000.0380
II0.5420.3250.5330.4730.25
III0.4580.6750.4670.4890.75
8I0.0000.00000.1060
II0.3460.3870.3750.4340.176
III0.6540.6130.6250.4600.824
9I0.0000.000000
II0.1720.3680.2690.270.167
III0.8280.6320.7310.730.833
10+I0.0000.000000
II0.1860.1740.1270.3290
III0.8140.8260.8730.6711
nTypeCase 0aCase 1Case 2Case 3Case 4
2I0.6000.480.5830.8260.712
II0.3330.520.4170.1740.288
III0.0670.000000
3I0.1430.2890.3960.3020.276
II0.6670.6670.5320.5100.613
III0.1900.0440.0720.1880.111
4I0.0160.0770.1350.0850.057
II0.7870.7470.7250.6620.690
III0.1970.1760.140.2530.253
5I0.0070.0230.0080.0590.027
II0.7390.6130.6440.5950.653
III0.2540.3640.3480.3460.320
6I0.0000.0000.0120.0560
II0.4730.4720.6750.5490.571
III0.5270.5280.3130.3950.429
7I0.0000.00000.0380
II0.5420.3250.5330.4730.25
III0.4580.6750.4670.4890.75
8I0.0000.00000.1060
II0.3460.3870.3750.4340.176
III0.6540.6130.6250.4600.824
9I0.0000.000000
II0.1720.3680.2690.270.167
III0.8280.6320.7310.730.833
10+I0.0000.000000
II0.1860.1740.1270.3290
III0.8140.8260.8730.6711
a

Data presented for case 0 are from Trotter and Spencer (2008).

Allele-frequency distributions

For each case, we compared the allele-frequency distributions present at snapshot and at equilibrium, using I=i=1n(pi1/n)2, the sum of squared deviations of allele frequencies from the centroid of allele-frequency space, as a measure of their centrality. If all alleles in the distribution are present at equal frequency, each pi will be 1/n and thus I = 0. If one allele is common and the others are vanishingly rare, I(n1)/n. In natural systems, truly centered allele-frequency distributions are rare (Keith 1983; Keith et al. 1985), and thus the ability of any model to generate skewed distributions reflects its biological plausibility. Distributions of I-values from allele-frequency equilibria for n = 5 generated by the different cases are summarized in Figure 5. We focus on the case of n = 5 in many of our analyses for two reasons. First, five alleles was the outcome between 7% and 13% of the time in both snapshot and equilibrium results, giving this case a sample size of ∼100 replicates for all cases. Second, and more importantly for fitness analyses, n = 5 is the smallest polymorphism that includes all possible intergenotypic interactions (see Trotter and Spencer 2007 for a discussion of the special properties of PIM when n = 2, 3, and 4).

Figure 5

Frequency plots of I-values for all cases. Shaded area, snapshot results with five alleles; solid line, equilibrium results with five alleles. The dotted line in case 0 indicates the expected distribution of I-values for random allele frequencies. A–E represent cases 0–4 in order.

Case 0 had significant differences (P < 0.0001) between distributions of snapshot and equilibrium I-values, with equilibrium values shifted toward 0 due to the loss of rare transient alleles. Surprisingly, in cases 1–4 the systems with five alleles at snapshot or at equilibrium produce distributions of I-values that are not significantly different (two-sample Kolmogorov–Smirnov test, P = 0.72, 0.50, 0.25, and 0.59 for cases 1–4, respectively). Equally surprising are the shapes of those distributions. In cases 1–4, I-values show bell-shaped frequency distributions, centered above 0, that do not shift between snapshot and equilibrium. This suggests that these models produce polymorphisms that have skewed distributions (I > 0) and are also stable, being less likely to lose transient alleles on the way to equilibrium.

Analysis of fitness sets

Following Trotter and Spencer (2007), we divided the interaction-fitness values within each fitness set into nine fitness “classes”. Class divisions are set based on heterozygosity of, and allelic similarities between, the interacting genotypes. Subscripts denote homo- and heterozygosity, as well as allele sharing between interacting genotypes. Let the class of homozygote by unlike-homozygote interactions be Cii,jj, that of homozygote by like-homozygote interactions be Cii,ii, that of heterozygote by like-heterozygote interactions be Cij,ij, that of heterozygote by similar heterozygote interactions be Cij,jk, that of heterozygote by unrelated heterozygote interactions be Cij,kl, and so forth. For a given fitness set, each class value takes the mean of all interaction fitnesses in that class. The relative values of fitness class means can be taken to indicate different forms of frequency dependence. For example, we say fitness sets with low values of self–self interactions (Cii,ii and Cij,ij) exemplify negative frequency dependence, since low fitness in self-interactions causes lower relative fitness for common alleles.

In this analysis, we again focus on the case where n = 5. The cases n = 2, 3, and 4 of the PIM do not exhibit all fitness classes (again, see Trotter and Spencer 2007 for further discussion of this issue). For all cases, some snapshot fitness sets maintained all alleles at equilibrium from all initial conditions, some from only a few, and some from none at all. One might then expect to find some relationship between the contents of a snapshot fitness set and the size of the domain of attraction of its fully polymorphic equilibrium. For example, fitness sets with heterozygote advantage might keep all alleles more often than do fitness sets with homozygote advantage. In a parameter-space approach (Trotter and Spencer 2007), PIM fitness sets with low self-interaction fitnesses (Cii,ii, Cij,ij, Cij,jj, Cii,ij) had larger within-set potential for variation. We examined correlations between the proportion of initial conditions that maintain snapshot variation (P) and all C class values, using Spearman’s nonparametric ρ (rs). These relationships are summarized in Table 4. While all cases had significant correlations between P and at least one C, all such correlations are weak. Cases 1 and 2 have significant negative correlations between potential and the homozygote interaction classes (Cii,__) as well as the heterozygote self-self interaction class (Cij,ij). Cases 3 and 4 have significant positive correlations between P and most heterozygote fitness classes. Thus, cases 1 and 2 show some signal of negative frequency dependence, while cases 3 and 4 seem to show more effects of heterozygote advantage.

Correlations between C class values and potential to maintain snapshot variation at equilibrium

Table 4
Correlations between C class values and potential to maintain snapshot variation at equilibrium
Case 0Case 1Case 2Case 3Case 4
Fitness classrsPrsPrsPrsPrsP
Cii,ii−0.184*0.033−0.248**0.005−0.291**0.0010.0130.871−0.0200.809
Cii,jj0.0440.615−0.0050.9550.1090.2140.0330.6880.0150.861
Cii,ij0.0510.559−0.360**0.000028−0.1100.2110.0350.6660.0390.641
Cii,jk0.5590.922−0.0080.9280.293**0.00060.0040.9610.0640.442
Cij,jj−0.194*0.025−0.245**0.005−0.319**0.000190.0230.7740.186*0.024
Cij,kk−0.182*0.035−0.0390.664−0.0180.8390.270**0.0010.433**0.00000004
Cij,ik0.0630.469−0.0760.3910.0370.6760.1170.1490.283**0.001
Cij,kl−0.0110.9040.244**0.0050.257**0.0030.296**0.00020.436**0.0000003
Cij,ij0.173*0.046−0.363**0.000023−0.200*0.0210.0540.508−0.0420.617
Case 0Case 1Case 2Case 3Case 4
Fitness classrsPrsPrsPrsPrsP
Cii,ii−0.184*0.033−0.248**0.005−0.291**0.0010.0130.871−0.0200.809
Cii,jj0.0440.615−0.0050.9550.1090.2140.0330.6880.0150.861
Cii,ij0.0510.559−0.360**0.000028−0.1100.2110.0350.6660.0390.641
Cii,jk0.5590.922−0.0080.9280.293**0.00060.0040.9610.0640.442
Cij,jj−0.194*0.025−0.245**0.005−0.319**0.000190.0230.7740.186*0.024
Cij,kk−0.182*0.035−0.0390.664−0.0180.8390.270**0.0010.433**0.00000004
Cij,ik0.0630.469−0.0760.3910.0370.6760.1170.1490.283**0.001
Cij,kl−0.0110.9040.244**0.0050.257**0.0030.296**0.00020.436**0.0000003
Cij,ij0.173*0.046−0.363**0.000023−0.200*0.0210.0540.508−0.0420.617
*

 Significant at the 0.05 level; **significant at the 0.01 level.

Table 4
Correlations between C class values and potential to maintain snapshot variation at equilibrium
Case 0Case 1Case 2Case 3Case 4
Fitness classrsPrsPrsPrsPrsP
Cii,ii−0.184*0.033−0.248**0.005−0.291**0.0010.0130.871−0.0200.809
Cii,jj0.0440.615−0.0050.9550.1090.2140.0330.6880.0150.861
Cii,ij0.0510.559−0.360**0.000028−0.1100.2110.0350.6660.0390.641
Cii,jk0.5590.922−0.0080.9280.293**0.00060.0040.9610.0640.442
Cij,jj−0.194*0.025−0.245**0.005−0.319**0.000190.0230.7740.186*0.024
Cij,kk−0.182*0.035−0.0390.664−0.0180.8390.270**0.0010.433**0.00000004
Cij,ik0.0630.469−0.0760.3910.0370.6760.1170.1490.283**0.001
Cij,kl−0.0110.9040.244**0.0050.257**0.0030.296**0.00020.436**0.0000003
Cij,ij0.173*0.046−0.363**0.000023−0.200*0.0210.0540.508−0.0420.617
Case 0Case 1Case 2Case 3Case 4
Fitness classrsPrsPrsPrsPrsP
Cii,ii−0.184*0.033−0.248**0.005−0.291**0.0010.0130.871−0.0200.809
Cii,jj0.0440.615−0.0050.9550.1090.2140.0330.6880.0150.861
Cii,ij0.0510.559−0.360**0.000028−0.1100.2110.0350.6660.0390.641
Cii,jk0.5590.922−0.0080.9280.293**0.00060.0040.9610.0640.442
Cij,jj−0.194*0.025−0.245**0.005−0.319**0.000190.0230.7740.186*0.024
Cij,kk−0.182*0.035−0.0390.664−0.0180.8390.270**0.0010.433**0.00000004
Cij,ik0.0630.469−0.0760.3910.0370.6760.1170.1490.283**0.001
Cij,kl−0.0110.9040.244**0.0050.257**0.0030.296**0.00020.436**0.0000003
Cij,ij0.173*0.046−0.363**0.000023−0.200*0.0210.0540.508−0.0420.617
*

 Significant at the 0.05 level; **significant at the 0.01 level.

The patterns of fitness produced by cases 1 and 2 agree closely for all fitness classes (see Figures 6 and 7). Case 2 has mild heterozygote advantage built in, so it is surprising that its heterozygote fitnesses are not the highest. Strangely enough, the signal for heterozygote advantage itself is more clearly pronounced in the data from cases 3 and 4, where heterozygote class means are all higher than the corresponding homozygote class means (with the exception of the heterozygote self–self interaction, which is comparatively low in case 3). The trends produced by cases 1 and 2 are more indicative of negative FDS, where self-interaction fitnesses (interactions between genotypes with shared alleles) are minimal (see low values of Cii,ii, Cij,ij, and Cij,jj) with the exception of those with the least sharing and the most heterozygous, Cij,jk.

Figure 6

Snapshot fitness class means with 95% confidence intervals, from fitness sets with n = 5, from all five versions of the PIM construction approach.

Figure 7

Equilibrium fitness class means with 95% confidence intervals, from fitness sets with n = 5, from all five versions of the PIM construction approach.

The fitness class means from the snapshot data (Figure 6) and in the equilibrium data (Figure 7) are similar, but with higher values in most classes at equilibrium, consistent with the loss of low-fitness transient alleles on the way to equilibrium.

Flavors of frequency dependence

To tease out common within-set patterns of fitness, we searched the fitness sets for commonly discussed selection regimes, using schemes listed in Table 5. To provide a basis for comparison, we also searched for these schemes in a sample of 105 “random” fitness sets, where each interaction fitness was drawn from the uniform distribution on [0, 1]. In the case of uniformly distributed fitness, negative FDS and positive FDS are equally probable. In the general construction model (case 0), we see that positive FDS is slightly more common (∼10% of sets) than negative FDS (∼7%) in snapshot, but that this relationship is reversed in the equilibrium sets (5% and 16%). In the simplest mutation-from-existing-alleles model (case 1), all of our defined flavors of FDS occur, with the exception of heterozygote disadvantage. Negative FDS is more common than positive FDS; and heterozygote advantage is more common than heterozygote disadvantage, which aligns with the usual intuitive understanding of how FDS should best maintain variation. In cases 1–4, negative FDS is always more common than in the sample of randomly generated fitness sets, and in cases 2–4 it is more common in equilibrium than in snapshot sets. Positive FDS occurs in all cases except case 3, but it is rare. Heterozygote advantage is very common in cases 3 and 4, but surprisingly not very common in case 2 (which has in-built heterozygote advantage). The addition of defined mutant impacts (cases 3 and 4) produces some notable changes. In case 3, negative FDS and heterozygote advantage are both present in ∼20% of fitness sets while in case 4, heterozygote advantage is common but negative FDS is strikingly rare.

Frequencies of selection schemes in model and random fitness sets

Table 5
Frequencies of selection schemes in model and random fitness sets
Case 0Case 1Case 2Case 3Case 4Random:
Selection schemeDefinitionSnapEquilSnapEquilSnapEquilSnapEquilSnapEquilNA
Negative FDSCii,ii and Cij,ij < all others0.07460.1570.1240.1230.1060.1170.2160.25360.05440.07140.105
Strict negative FDS↑shared alleles, ↓fitness:
Cii,ii,Cij,ij < Cii,ik, Cij,ik, Cij,jj < Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02320.03510.03790.05410.04580.05800.00680.01020.0034
Positive FDSCii,ii and Cij,ij > all others0.0970.05220.05430.03510.02270.009000.040800.105
Strict positive FDS↑shared alleles, ↑fitness:
Cii,ii,Cij,ij > Cii,ik, Cij,ik, Cij,jj > Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02330.00880.01520.009000.02040.01020.0034
Heterozygote advantageCij, > all Cii,  __0.05220.06960.04650.01750.04550.0360.1700.1740.2180.2860.0087
Homozygote advantageCij, < all Cii,  __0000000.01310.0073000.0088
TotalsAll special cases above0.2240.2780.2720.2190.2270.2250.4440.4930.3400.3780.235
N sets13411512911413211115313814798100,000
Value of 1 set0.0070.0090.0080.0090.00750.0090.00650.0070.0070.010
Case 0Case 1Case 2Case 3Case 4Random:
Selection schemeDefinitionSnapEquilSnapEquilSnapEquilSnapEquilSnapEquilNA
Negative FDSCii,ii and Cij,ij < all others0.07460.1570.1240.1230.1060.1170.2160.25360.05440.07140.105
Strict negative FDS↑shared alleles, ↓fitness:
Cii,ii,Cij,ij < Cii,ik, Cij,ik, Cij,jj < Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02320.03510.03790.05410.04580.05800.00680.01020.0034
Positive FDSCii,ii and Cij,ij > all others0.0970.05220.05430.03510.02270.009000.040800.105
Strict positive FDS↑shared alleles, ↑fitness:
Cii,ii,Cij,ij > Cii,ik, Cij,ik, Cij,jj > Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02330.00880.01520.009000.02040.01020.0034
Heterozygote advantageCij, > all Cii,  __0.05220.06960.04650.01750.04550.0360.1700.1740.2180.2860.0087
Homozygote advantageCij, < all Cii,  __0000000.01310.0073000.0088
TotalsAll special cases above0.2240.2780.2720.2190.2270.2250.4440.4930.3400.3780.235
N sets13411512911413211115313814798100,000
Value of 1 set0.0070.0090.0080.0090.00750.0090.00650.0070.0070.010

Snap, snapshot; Equil, equilibrium; NA, not applicable.

Table 5
Frequencies of selection schemes in model and random fitness sets
Case 0Case 1Case 2Case 3Case 4Random:
Selection schemeDefinitionSnapEquilSnapEquilSnapEquilSnapEquilSnapEquilNA
Negative FDSCii,ii and Cij,ij < all others0.07460.1570.1240.1230.1060.1170.2160.25360.05440.07140.105
Strict negative FDS↑shared alleles, ↓fitness:
Cii,ii,Cij,ij < Cii,ik, Cij,ik, Cij,jj < Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02320.03510.03790.05410.04580.05800.00680.01020.0034
Positive FDSCii,ii and Cij,ij > all others0.0970.05220.05430.03510.02270.009000.040800.105
Strict positive FDS↑shared alleles, ↑fitness:
Cii,ii,Cij,ij > Cii,ik, Cij,ik, Cij,jj > Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02330.00880.01520.009000.02040.01020.0034
Heterozygote advantageCij, > all Cii,  __0.05220.06960.04650.01750.04550.0360.1700.1740.2180.2860.0087
Homozygote advantageCij, < all Cii,  __0000000.01310.0073000.0088
TotalsAll special cases above0.2240.2780.2720.2190.2270.2250.4440.4930.3400.3780.235
N sets13411512911413211115313814798100,000
Value of 1 set0.0070.0090.0080.0090.00750.0090.00650.0070.0070.010
Case 0Case 1Case 2Case 3Case 4Random:
Selection schemeDefinitionSnapEquilSnapEquilSnapEquilSnapEquilSnapEquilNA
Negative FDSCii,ii and Cij,ij < all others0.07460.1570.1240.1230.1060.1170.2160.25360.05440.07140.105
Strict negative FDS↑shared alleles, ↓fitness:
Cii,ii,Cij,ij < Cii,ik, Cij,ik, Cij,jj < Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02320.03510.03790.05410.04580.05800.00680.01020.0034
Positive FDSCii,ii and Cij,ij > all others0.0970.05220.05430.03510.02270.009000.040800.105
Strict positive FDS↑shared alleles, ↑fitness:
Cii,ii,Cij,ij > Cii,ik, Cij,ik, Cij,jj > Cii,kk, Cii,kl, Cij,kk,Cij,kl000.02330.00880.01520.009000.02040.01020.0034
Heterozygote advantageCij, > all Cii,  __0.05220.06960.04650.01750.04550.0360.1700.1740.2180.2860.0087
Homozygote advantageCij, < all Cii,  __0000000.01310.0073000.0088
TotalsAll special cases above0.2240.2780.2720.2190.2270.2250.4440.4930.3400.3780.235
N sets13411512911413211115313814798100,000
Value of 1 set0.0070.0090.0080.0090.00750.0090.00650.0070.0070.010

Snap, snapshot; Equil, equilibrium; NA, not applicable.

Discussion

In this series of simulations, we have investigated the effect of mutation from existing alleles on the potential for polymorphism under a construction approach to the PIM of FDS. We find that generating mutants from existing alleles lowers the average number of alleles found in a system subject to FDS under a construction approach, relative to previously studied models with uniformly distributed mutant fitnesses. Interestingly, while the overall numbers of alleles found at a given time point are lower, the polymorphisms produced are more stable, with more natural allele-frequency distributions.

Contrary to our intuitive expectation, the cases that were expected to produce more alleles actually had lower overall levels of polymorphism. The case with built-in heterozygote advantage (case 2) produced fewer alleles than the equivalent case with all mutant fitnesses drawn from the same distribution (case 1). The case in which mutant impacts are negative (case 4) produced fewer alleles than the case in which mutants are indistinguishable from their parent in terms of their impact on other alleles (case 3). This case, in which mutant impacts are strictly equal to parental impacts, produced the highest mean levels of polymorphism at both snapshot and equilibrium. This case is arguably the most biologically reasonable of the four, since mutants in case 3 are in general less fit than their parental allele, but have no or negligible effect on preexisting alleles. [It is generally accepted that the majority of new mutations are deleterious mutations of small effect, but there is no biological reason to expect that mutants should have deleterious impacts on other genotypes (as in case 4)]. Thus, it is interesting that case 3 produced the highest numbers of alleles.

The PIM is well known to generate decreases in mean fitness (Cockerham et al. 1972; Asmussen and Basnayake 1990; Asmussen et al. 2004; Trotter and Spencer 2007) and nonmonotonic mean-fitness trajectories (Trotter and Spencer 2009). However, if fitnesses are symmetric (or pseudosymmetric, see Matessi and Schneider 2009), the PIM does evolve to maximize mean fitness (or closely related quantities). Earlier construction approaches to the PIM found the mean fitness to be erratic and largely decoupled from the number of alleles (Trotter and Spencer 2008). In most of our simulations of cases 1–4, there were long periods of stable allele number and mean fitness, corresponding to particularly stable arrangements of fitness. However, given that the distributions of mutant fitnesses are functions of parental frequencies, it is always possible to produce a successful invader allele. No matter how fit or stable the current polymorphism is, there is no maximum mean fitness it could attain to cause permanent stability.

The most notable result in our measurements of mean fitness is the remarkable oscillations in mean fitness that occur regularly in both cases 1 and 2 and more rarely in cases 3 and 4. Interestingly, the dynamics of mean fitness and numbers of alleles appear to be independent during these oscillations. Several other studies have found complex dynamics produced by the PIM (Altenberg 1991; Gavrilets and Hastings 1995; Trotter and Spencer 2009) but only in systems where the number of alleles is fixed. While some definite patterns emerged from close investigation of the oscillations, no general rule applies to all cases. In general, sharp drops in mean fitness corresponded to multiple invasions of new alleles and sharp spikes in mean fitness occurred during multiple extinctions. In many cases, long periods of stability of allele numbers corresponded to monotonic decreases in mean fitness. These decreases in w¯ are most likely caused by the slow increase in frequency of an allele whose impact on other alleles is negative. The existence of mean fitness oscillations occurring entirely during periods of unchanging n is possibly related to replacement invasions or to the stable n undergoing allele-frequency cycles. The fact that increased ecological realism (i.e., mutation from existing alleles) in our approach to the PIM creates such counterintuitive mean-fitness trajectories suggests that non-hill-climbing evolution may have an important role in evolution when fitness is frequency dependent.

While it is clear that generating mutants from existing alleles increases the overall potential for stable polymorphism over the general construction approach to the PIM, there is no clear pattern in the potential for polymorphism among the mutation models. While many fitness sets (which we label “type I”) maintained all snapshot alleles from their snapshot allele-frequency vectors, the number of these fitness sets drops off dramatically as n increases. Similarly, regardless of the system used to generate new mutants, the models all evolve into areas of fitness space where heterozygotes are more fit than homozygotes. Strangely, however, the case with built-in heterozygote advantage in the mutations does not produce particularly high levels of polymorphism. Other recent studies (Marks and Ptak 2001; Star et al. 2007b; Stoffels and Spencer 2008; Trotter and Spencer 2008) agree that heterozygote advantage alone fails as an explanation for polymorphism when examined under constructionist approaches to a wide variety of selection models. Additionally, while our implementation of rare homozygous lethality in all cases does imply some very weak heterozygote advantage, in simulations without homozygous lethals (see File S1) we found that their omission had a negligible effect on numbers of alleles. Thus, while heterozygote advantage often emerges from the mutation–selection process, it does not seem to be key to producing large amounts of polymorphism.

Early parameter-space approaches suggested the conditions for multiple-allele polymorphisms are very restrictive (Trotter and Spencer 2007), whereas general construction approaches to the PIM easily generate very large numbers of alleles (Trotter and Spencer 2008). However, each addition of genetic realism (mutation from a parental allele and then the incorporation of negative mutant impacts) has decreased the level of polymorphism generated by the construction approach. Presumably the addition of drift to the models will further limit the level of polymorphism produced (investigations of such models are in progress). The level of polymorphism produced by construction approaches is, of course, sensitive to mutation rate (see File S1) but the rates of mutation used in our analyses here are consistent with those in the few empirical studies that are available (Drake et al. 1998). These results remind us that FDS alone, even strict negative FDS, is not a panacea for the paradox of polymorphism, and any attempts to explain large numbers of alleles as being due to FDS must be viewed with caution.

Acknowledgments

The authors thank Bastiaan Star and Rick Stoffels for helpful discussion and two anonymous reviewers for comments on the manuscript. This work was supported by the Marsden Fund of the Royal Society of New Zealand (contract U00315) and by the Allan Wilson Centre for Molecular Evolution and Ecology. M.V.T. was the recipient of a scholarship from the Division of Sciences of the University of Otago.

Footnotes

Communicating editor: L. M. Wahl

Literature Cited

Altenberg
L
,
1991
Chaos from linear frequency-dependent selection.
 
Am. Nat.
 
138
:
51
68
.

Asmussen
M A
,
Basnayake
E
,
1990
Frequency-dependent selection: The high potential for permanent genetic variation in the diallelic, pairwise interaction model.
 
Genetics
 
125
:
215
230
.

Asmussen
M A
,
Cartwright
R A
,
Spencer
H G
,
2004
Frequency-dependent selection with dominance: a window onto the behavior of the mean fitness.
 
Genetics
 
167
:
499
512
.

Borer
M
,
Van Noort
T
,
Rahier
M
,
Naisbit
R E
,
2010
Positive frequency-dependent selection on warning color in alpine leaf beetles.
 
Evolution
 
64
:
3629
3633
.

Bradley
R D
,
Bull
J J
,
Johnson
A D
,
Hillis
D M
,
1993
Origin of a novel allele in a mammalian hybrid zone.
 
Proc. Natl. Acad. Sci. USA
 
90
:
8939
8941
.

Clark
A G
,
Feldman
M W
,
1986
A numerical simulation of the one-locus, multiple-allele fertility model.
 
Genetics
 
113
:
161
176
.

Cockerham
C C
,
Burrows
P M
,
Young
S S
,
Prout
T
,
1972
Frequency-dependent selection in randomly mating populations.
 
Am. Nat.
 
106
:
493
515
.

Connallon
T
,
Clark
A G
,
2012
A general population genetic framework for antagonistic selection that accounts for demography and recurrent mutation.
 
Genetics
 
190
:
1477
1489
.

Curtsinger
J W
,
Service
P M
,
Prout
T
,
1994
Antagonistic pleiotropy, reversal of dominance, and genetic polymorphism.
 
Am. Nat.
 
144
:
210
228
.

Dybdahl
M F
,
Lively
C M
,
1998
Host-parasite coevolution: evidence for rare advantage and time-lagged selection in a natural population.
 
Evolution
 
52
:
1057
1066
.

Eyre-Walker
A
,
Keightley
P D
,
2007
The distribution of fitness effects of new mutations.
 
Nat. Rev. Genet.
 
8
:
610
618
.

Drake
J W
,
Charlesworth
B
,
Charlesworth
D
,
Crow
J F
,
1998
Rates of spontaneous mutation.
 
Genetics
 
148
:
1667
1686
.

Foerster
K
,
Coulson
T
,
Sheldon
B C
,
Pemberton
J M
,
Clutton-Brock
T H
 et al. ,
2007
Sexually antagonistic genetic variation for fitness in red deer.
 
Nature
 
447
:
1107
1110
.

Garrigan
D
,
Hedrick
P W
,
2003
Perspective: detecting adaptive molecular polymorphism: lessons from the MHC.
 
Evolution
 
57
:
1707
1722
.

Gavrilets
S
,
Hastings
A
,
1995
Intermittency and transient chaos from simple frequency-dependent selection.
 
Proc. Biol. Sci.
 
261
:
233
238
.

Gillespie
J H
,
1977
A general model to account for enzyme variation in natural populations. III. Multiple alleles.
 
Evolution
 
31
:
85
90
.

Gimelfarb
A
,
1998
Stable equilibria in multilocus genetic systems: statistical investigation.
 
Theor. Popul. Biol.
 
54
:
133
145
.

Hahn
M W
,
2008
Toward a selection theory of molecular evolution.
 
Evolution
 
62
:
255
265
.

Haldane
J B S
,
Jayakar
S D
,
1963
Polymorphism due to selection of varying direction.
 
J. Genet.
 
58
:
237
242
.

Hall
M D
,
Lailvaux
S P
,
Blows
M W
,
Brooks
R C
,
2010
Sexual conflict and the maintenance of multivariate genetic variation.
 
Evolution
 
64
:
1697
1703
.

Hedrick
P W
,
1986
Genetic polymorphism in heterogeneous environments: a decade later.
 
Annu. Rev. Ecol. Syst.
 
17
:
535
566
.

Hubby
J L
,
Lewontin
R C
,
1966
A molecular approach to the study of genic heterozygosity in natural populations. I. The number of alleles at different loci in Drosophila pseudoobscura.
 
Genetics
 
54
:
577
594
.

Hughes
K A
,
Du
L
,
Rodd
F H
,
Reznick
D N
,
1999
Familiarity leads to female mate preference for novel males in the guppy, Poecilia reticulata.
 
Anim. Behav.
 
58
:
907
916
.

Karlin
S
,
1981
Some natural viability systems for a multiallelic locus: a theoretical study.
 
Genetics
 
97
:
457
473
.

Keith
T P
,
1983
Frequency distribution of esterase-5 alleles in two populatiosn of Drosophila pseudoobscura.
 
Genetics
 
105
:
135
155
.

Keith
T P
,
Brooks
L D
,
Lewontin
R C
,
Martinez-Cruzado
J C
,
Rigby
D L
,
1985
Nearly identical allelic distributions of xanthine dehydrogenase in two populations of Drosophila pseudoobscura.
 
Mol. Biol. Evol.
 
2
:
206
216
.

Kekäläinen
J
,
Vallunen
J A
,
Primmer
C R
,
Rättyä
J
,
Taskinen
J
,
2009
Signals of major histocompatibility complex overdominance in a wild salmonid population.
 
Proc. Biol. Sci.
 
276
:
3133
3140
.

Kimura
M
,
1984
The Neutral Theory of Molecular Evolution
.
Cambridge University Press
,
Cambridge/London/New York
.

Kojima
K I
,
1971
Is there a constant fitness value for a given genotype? NO!
 
Evolution
 
25
:
281
285
.

Koskella
B
,
Lively
C M
,
2009
Evidence for negative frequency‐dependent selection during experimental coevolution of a freshwater snail and a sterilizing trematode.
 
Evolution
 
63
:
2213
2221
.

Leffler
E M
,
Bullaughey
K
,
Matute
D R
,
Meyer
W K
,
Ségurel
L
 et al. ,
2012
Revisiting an old riddle: What determines genetic diversity levels within species?
 
PLoS Biol.
 
10
:
e1001388
.

Levene
H
,
1953
Genetic equilibrium when more than one ecological niche is available.
 
Am. Nat.
 
87
:
331
333
.

Lewontin
R C
,
1958
A general method for investigating the equilibrium of gene frequency in a population.
 
Genetics
 
43
:
419
434
.

Lewontin
R C
,
Ginzburg
L R
,
Tuljapurkar
S D
,
1978
Heterosis as an explanation for large amount of genic polymorphism.
 
Genetics
 
88
:
149
169
.

Li
C C
,
1955
The stability of an equilibrium and the average fitness of a population
.
Am. Nat.
 
89
:
281
295
.

Marks
R W
,
Ptak
S E
,
2001
The maintenance of single-locus polymorphism. V. Sex-dependent viabilities.
 
Selection
 
1
:
217
228
.

Marks
R W
,
Spencer
H G
,
1991
The maintenance of single-locus polymorphism. II. The evolution of fitnesses and allele frequencies.
 
Am. Nat.
 
138
:
1354
1371
.

Marples
N M
,
Mappes
J
,
2010
Can the dietary conservatism of predators compensate for positive frequency dependent selection against rare, conspicuous prey?
 
Evol. Ecol.
 
25
:
737
749
.

Matessi
C
,
Schneider
K A
,
2009
Optimization under frequency-dependent selection.
 
Theor. Popul. Biol.
 
76
:
1
12
.

Maynard Smith
J M
,
1982
Evolution and the Theory of Games
.
Cambridge University Press
,
Cambridge/London/New York
.

Mokkonen
M
,
Kokko
H
,
Koskela
E
,
Lehtonen
J
,
Mappes
T
 et al. ,
2011
Negative frequency-dependent selection of sexually antagonistic alleles in Myodes glareolus.
 
Science
 
334
:
972
974
.

Moriyama
E
,
Powell
J R
,
1996
Intraspecific nuclear DNA variation in Drosophila.
 
Mol. Biol. Evol.
 
13
:
261
277
.

Muirhead
C A
,
Wakeley
J
,
2009
Modeling multiallelic selection using a Moran model.
 
Genetics
 
182
:
1141
1157
.

Mukai
T
,
Yoshikawa
I
,
Sano
K
,
1966
The genetic structure of natural populations of Drosophila melanogaster. IV. Heterozygous effects of radiation-induced mutations on viability in various genetic backgrounds.
 
Genetics
 
53
:
513
527
.

Nagylaki
T
,
2009
Polymorphism in multiallelic migration–selection models with dominance.
 
Theor. Popul. Biol.
 
75
:
239
259
.

Nee
S
,
1990
Community construction.
 
Trends Ecol. Evol.
 
5
:
337
340
.

Ohta
T
,
1973
Slightly deleterious mutant substitutions in evolution.
 
Nature
 
246
:
96
98
.

Olendorf
R
,
Rodd
F H
,
Punzalan
D
,
Houde
A E
,
Hurt
C
 et al. ,
2006
Frequency-dependent survival in natural guppy populations.
 
Nature
 
441
:
633
636
.

Schneider
K A
,
2009
Maximization principles for frequency-dependent selection II: the one-locus multiallele case.
 
J. Math. Biol.
 
61
:
95
132
.

Sellis
D
,
Callahan
B J
,
Petrov
D A
,
Messer
P W
,
2011
Heterozygote advantage as a natural consequence of adaptation in diploids.
 
Proc. Natl. Acad. Sci. USA
 
108
:
20666
20671
.

Sinervo
B
,
Calsbeek
R
,
2006
The developmental, physiological, neural, and genetical causes and consequences of frequency-dependent selection in the wild.
 
Annu. Rev. Ecol. Evol. Syst.
 
37
:
581
610
.

Sinervo
B
,
Lively
C M
,
1996
The rock–paper–scissors game and the evolution of alternative male strategies.
 
Nature
 
380
:
240
243
.

Spencer
H G
,
Marks
R W
,
1988
The maintenance of single-locus polymorphism. I. Numerical studies of a viability selection model.
 
Genetics
 
120
:
605
613
.

Spencer
H G
,
Marks
R W
,
1992
The maintenance of single-locus polymorphism. IV. Models with mutation from existing alleles
.
Genetics
 
130
:
211
221
.

Spurgin
L G
,
Richardson
D S
,
2010
How pathogens drive genetic diversity: MHC, mechanisms and misunderstandings.
 
Proc. Biol. Sci.
 
277
:
979
988
.

Star
B
,
Stoffels
R J
,
Spencer
H G
,
2007
a
Evolution of fitnesses and allele frequencies in a population with spatially heterogeneous selection pressures.
 
Genetics
 
177
:
1743
1751
.

Star
B
,
Stoffels
R J
,
Spencer
H G
,
2007
b
Single-locus polymorphism in a heterogeneous two-deme model.
 
Genetics
 
176
:
1625
1633
.

Stoffels
R J
,
Spencer
H G
,
2008
An asymmetric model of heterozygote advantage at major histocompatibility complex genes: degenerate pathogen recognition and intersection advantage.
 
Genetics
 
178
:
1473
1489
.

Trotter
MV
,
Spencer
H G
,
2007
Frequency-dependent selection and the maintenance of genetic variation: exploring the parameter space of the multiallelic pairwise interaction model.
 
Genetics
 
176
:
1729
1740
.

Trotter
M V
,
Spencer
H G
,
2008
The generation and maintenance of genetic variation by frequency-dependent selection: constructing polymorphisms under the pairwise interaction model.
 
Genetics
 
180
:
1547
1557
.

Trotter
M V
,
Spencer
H G
,
2009
Complex dynamics occur in a single-locus, multiallelic model of frequency dependent selection.
 
Theor. Popul. Biol.
 
76
:
292
298
.

Waxman
D
,
2009
Fixation at a locus with multiple alleles: structure and solution of the Wright-Fisher model.
 
J. Theor. Biol.
 
257
:
245
251
.

Author notes

This article is published and distributed under the terms of the Oxford University Press, Standard Journals Publication Model (https://academic.oup.com/journals/pages/open_access/funder_policies/chorus/standard_publication_model)

Supplementary data