- Research article
- Open Access
- Published:

# Spatial heterogeneity, frequency-dependent selection and polymorphism in host-parasite interactions

*BMC Evolutionary Biology*
**volume 11**, Article number: 319 (2011)

## Abstract

### Background

Genomic and pathology analysis has revealed enormous diversity in genes involved in disease, including those encoding host resistance and parasite effectors (also known in plant pathology as avirulence genes). It has been proposed that such variation may persist when an organism exists in a spatially structured metapopulation, following the geographic mosaic of coevolution. Here, we study gene-for-gene relationships governing the outcome of plant-parasite interactions in a spatially structured system and, in particular, investigate the population genetic processes which maintain balanced polymorphism in both species.

### Results

Following previous theory on the effect of heterogeneous environments on maintenance of polymorphism, we analysed a model with two demes in which the demes have different environments and are coupled by gene flow. Environmental variation is manifested by different coefficients of natural selection, the costs to the host of resistance and to the parasite of virulence, the cost to the host of being diseased and the cost to an avirulent parasite of unsuccessfully attacking a resistant host. We show that migration generates negative direct frequency-dependent selection, a condition for maintenance of stable polymorphism in each deme. Balanced polymorphism occurs preferentially if there is heterogeneity for costs of resistance and virulence alleles among populations and to a lesser extent if there is variation in the cost to the host of being diseased. We show that the four fitness costs control the natural frequency of oscillation of host resistance and parasite avirulence alleles. If demes have different costs, their frequencies of oscillation differ and when coupled by gene flow, there is amplitude death of the oscillations in each deme. Numerical simulations show that for a multiple deme island model, costs of resistance and virulence need not to be present in each deme for stable polymorphism to occur.

### Conclusions

Our theoretical results confirm the importance of empirical studies for measuring the environmental heterogeneity for genetic costs of resistance and virulence alleles. We suggest that such studies should be developed to investigate the generality of this mechanism for the long-term maintenance of genetic diversity at host and parasite genes.

## Background

Disease is a major driving force of evolution, generating natural selection which acts both on host defences and on genes enabling parasites to overcome those defences. Two types of polymorphism have been proposed to result from the co-evolution of interacting host and parasite loci [1]. Long-term maintenance of polymorphism is predicted by the "trench warfare" hypothesis, resulting from balancing selection acting on both host and parasite genes [1, 2]. Polymorphism at host and parasite loci is thus predicted to be ancient [2] with substantial phenotypic and molecular diversity within species at population and metapopulation levels. Alternatively, in the "arms race" scenario, there is recurrent fixation of favourable alleles by selective sweeps. In this situation, alleles are short-lived, and transient polymorphism is only observable for a short period of time [1]. An important topic in population genetics of host-parasite interactions is to understand the ways in which natural selection interacts with the organisms' ecology to promote the occurrence of each scenario in natural populations [3]. The occurrence of "arms race" or "trench warfare" dynamics has been studied in controlled laboratory experiments with bacterium-phage systems and theoretical predictions have been tested [4–10].

The gene-for-gene (GFG) relationship, found widely in plant diseases, but also in some invertebrate-parasite systems [11, 12], is a model system for host-parasite co-evolution because the molecular biology of the interactions between host and parasite genotypes is well-understood [13]. In the GFG system a host can resist attack by a parasite if it has a resistance (*RES*) gene which enables recognition of a specific parasite avirulence (*AVR*) gene. A parasite is not detected by a host and resistance is ineffective if the host has a susceptibility allele (*res*) or the parasite has a virulence allele (*avr*). Coevolutionary dynamics are driven by indirect frequency-dependent selection (iFDS), in which the strength of natural selection acting on resistance genes depends on the frequencies of parasite genes and *vice-versa* [14, 15]. The resulting "boom-and-bust" behaviour causes unstable coevolutionary cycles, leading to fixation of alleles in host and parasite populations (an "arms race" scenario). In this case, there is a point at which there is balanced polymorphism at the host *RES* and parasite *AVR* loci but this equilibrium is unstable [16]. Long term maintenance of polymorphism in GFG systems, *i.e.* via stable equilibrium or cycling of host and parasite allele frequencies, generally requires the existence of a stable equilibrium point at which there is balanced polymorphism at *RES* and *AVR* loci. Conditions for such a stable equilibrium have been the subject of theoretical population genetics studies which have emphasised the existence of genetic fitness costs associated with resistance and virulence alleles [17–20], prompting attempts to estimate such costs experimentally [21–25].

However, an important recent theoretical result is that direct frequency-dependent selection (FDS), in which the contribution of an allele to fitness depends on its own frequency, is necessary for balanced polymorphism to be maintained [15]. Specifically, polymorphism can be stabilised if direct FDS is negative, so that the allele's net contribution to fitness declining with increasing frequency. Diverse epidemiological and ecological processes which act within a single population generate negative direct FDS and stabilise polymorphism [3, 15, 26, 27]. Crucially, while fitness costs of resistance and virulence alleles are required to generate coevolutionary cycles, they do not generate direct FDS [15]. In other words, a single-locus GFG model, in which each host and parasite locus has two alleles, with discrete non-overlapping generations of haploid parasites and haploid or selfing plants, generates an "arms race" with recurrent fixation of host and parasite alleles, if the life cycle of host and parasites are synchronised and disease transmission is frequency-dependent [15, 28].

Most organisms exhibit some degree of spatial structuring of their populations, which has two main influences on the dynamics of host-parasite systems. Firstly, metapopulation structure, in which a species exists as a set of local host and parasite demes, generates demographic processes such as random genetic drift, limited dispersal between demes and extinction-recolonisation events, driving local adaptation of hosts or parasites [29]. However, metapopulation dynamics within a homogeneous environment, in which coevolutionary parameters are identical in all demes, do not in themselves stabilise a model which would otherwise be unstable in a single population [30]. Secondly, the ranges of most species extend over diverse ecological habitats which generate different rates of natural selection, driving local adaptation of populations to abiotic and biotic environments [31]. Since the seminal work of Levene [32], much theoretical work has focused on the mathematical conditions for maintenance of polymorphism for a diploid species in two (or more) niches linked by gene flow with different selective coefficients for different alleles [33–36]. Briefly, a heterogeneous environment with different strengths of natural selection in different demes and weak coupling between demes, *i.e.* low level of gene flow, favour stable local and global polymorphic equilibria by migration-selection balance (review in [37, 38]) or heterozygous advantage [36].

A general theory which summarises the dynamics of coevolution in a spatially heterogeneous environment is the 'geographic mosaic of co-evolution'. This proposes that variation in selection pressures between demes is caused by heterogeneous abiotic conditions generating 'hot' and 'cold' spots of coevolution [39]. Gavrilets and Michalakis [30] analysed a general model for coevolution in heterogeneous environment. Polymorphism may occur in a multilocus GFG system in a metapopulation where heterogeneous selection is generated by hot and cold (no parasite present) spots [40]. Theoretical and experimental studies considered heterogeneity in space for the cost for the host of being diseased or absence of parasite [30, 40, 41]. In this paper, we bring together the theory of host-parasite coevolution in single populations with that of heterogeneous environments, and investigate the conditions which lead to balanced polymorphism at host and parasite loci both in individual demes and in the metapopulation as a whole. This study has four objectives.

First, we connect the existing theory [33, 34, 37, 38] to host-parasite coevolutionary models [15], by showing that migration-selection dynamics generate negative direct FDS.

Second, we show that in GFG models, negative direct FDS arising from gene flow between demes with different environments can stabilise polymorphism at interacting host and parasite loci.

Third, we extend previous work [30, 40] to relate the strength of direct FDS and the conditions for occurrence of stable polymorphism to the parameters which describe plant-parasite interactions involving GFG relationships. In particular, we highlight the importance of costs of resistance and virulence for the metapopulation dynamics of GFG coevolution, and show that these costs are not needed in every deme for polymorphism to be stable.

Fourth, we discuss the relevance and implications of our results for empirical studies. We recommend testing for the existence of genetic costs for resistance and virulence alleles and measuring their environmental variability in crop and natural plant-parasite systems [22–25], and their influence on coevolutionary dynamics in bacteria-phage systems [5–10, 42].

### General model of selection in heterogeneous habitats

#### Model description

We consider a metapopulation divided into *n* demes connected by migration in which a gene has two alleles, *G* and *g*, with frequencies *G*_{
i
} and *g*_{
i
} respectively in deme *i* (*G*_{
i
} + *g*_{
i
} = 1). The species in the model is either haploid or, if diploid, is selfing with no remaining heterozygosity at the locus in question. We assume that soft selection occurs because plants compete for resources locally and thus the number of individuals per deme is fixed (and very large) [43]; specifically, we assume for convenience that all demes have infinite population size. Each generation takes place as a two step process: 1) natural selection occurs within each deme, altering allele frequencies, then 2) migration occurs between demes (similar results when migration precedes selection are shown in the Additional File 1, section 2). In deme *i*, allele *G* has a fitness of (1 - *τ*_{
i
} ) and allele *g* a fitness of (1 - *σ*_{
i
} ). After natural selection has occured in deme *i*, the frequencies of the two alleles are:

and

where *G*_{
i
} ' is the frequency of *G* in deme *i* after natural selection (with *G*_{
i
} ' + *g*_{
i
} ' = 1).

Throughout this paper, we analyse ratios of allele frequencies to calculate frequency changes between generations. This has two advantages over the more usual analysis of frequencies of single alleles (use of forward and backward migration matrices [38]). Firstly, it dispenses with complicated terms for mean fitness, greatly simplifying differentiation of functions of allele frequencies. Secondly, in the absence of direct FDS, the rate of change of the logarithm of the ratio of the frequencies of two alleles at a locus (the logit of the frequency used as the numerator) is constant if the strength of natural selection is independent of allele frequencies. A non-zero first derivative of the rate of change of the logit-frequency therefore implies the existence of direct FDS.

After natural selection has occurred, there is a migration phase during which deme *i* receives alleles from other demes (*j*). *G*_{
i
} ″ and *g*_{
i
} ″ are then the frequencies of the two alleles in deme *i* after the migration step (*G*_{
i
} ″ + *g*_{
i
} ″ = 1), At the end of the generation under consideration:

where *m*_{
ji
} is the proportion of the population in deme *i* which originated in deme *j* (i.e. the migration rate from deme *j* to *i*) and ${L}_{i}=1-\sum _{j\ne i}{m}_{ji}$ is the proportion of the population in deme *i* which originated in deme *i* itself. We assume that the allele of interest does not affect the probability of migration.

If there is no direct FDS, the strength of natural selection on an allele does not depend on its frequency, so the change in log(*G*_{
i
} /*g*_{i}) (the logit transformation of *G*_{
i
} ) over a generation is independent of *G*_{
i
} . If *γ*_{
i
} *=* log(*G*_{
i
} /*g*_{
i
} ) and Δ*γ*_{
i
} = *γ*_{
i
} ″-*γ*_{
i
} , the change in *γ*_{
i
} between generations, then for given values of allele frequencies *G*_{
j
} and *g*_{
j
} in demes *j* (*j* ≠ *i*),

where *φ*_{
i
} and *ψ*_{
i
} are constants for given values of *G*_{
j
} and *g*_{
j
} and depend on the migration rates (*m*_{
ji
} ) and the selection coefficients in deme *j* (*τ*_{
j
} and *σ*_{
j
} ):

and

From (3), *d*Δ*γ*_{
i
} /*dγ*_{
i
} < 0 when there is migration (*L*_{
i
} < 1 ⇔ *m*_{
ji
} > 0) and *σ*, *τ* or both differ between at least some demes (details of calculations in Additional File 1, section 1). Hence, there is negative direct FDS, with the net benefit of allele *G* to fitness declining (or its net cost increasing) as its frequency increases. *d*Δ*γ*_{
i
} /*dγ*_{
i
} is never positive, so the selective advantage of an allele never increases with increasing frequency.

The conditions for metapopulation structure to generate negative direct FDS in deme *i* (*d*Δ*γ*_{
i
} /*dγ*_{
i
} < 0) are therefore that the selection coefficients (*σ*_{
i
} and *τ*_{
i
} ) on the alleles differ between deme *i* and one or more other demes (*σ*_{
j
} and *τ*_{
j
} ) and that there is gene flow (for example, by migration) from other demes into deme *i* (*m*_{
ji
} > 0 for at least some *j*). In biological terms, negative direct FDS is generated by heterogeneous environments in a metapopulation because as *G*_{
i
} increases, the net loss of *G* alleles from population *i* to other populations increases. Hence the net rate of selection for *G* (or against *g*) in deme *i* falls as *G*_{
i
} rises. This is the process described elsewhere as direct FDS [15]. These are necessary but not sufficient conditions for stable polymorphism, because an additional condition is that the two alleles must have identical mean fitnesses at some value of *G*_{
i
} /*g*_{
i
} to generate balanced polymorphism due to migration-selection balance [33, 38]. Note also that negative direct FDS is also generated if migration precedes selection ([38]; Additional File 1, section 2).

### Gene-for-gene model in heterogeneous habitats

#### Methods

##### Model description

Both hosts and parasites are haploid or selfing with no heterozygotes at the loci of interest and the population is of infinite size with a soft selection model. There are *n* demes. Infection is monocyclic, with each plant attacked once by one parasite in each generation [15, 17]. In this simple GFG system, a plant has one locus with two alleles, resistant (*RES*) and susceptible (*res*), and the parasite one pathogenicity locus with two alleles, avirulent (*AVR*) and virulent (*avr*). A parasite is not detected by a host and resistance is ineffective if the host has a susceptibility allele (*res*) or the parasite has a virulence allele (*avr*); in this case the fractional reduction in a plant's reproductive fitness being diseased is *s*_{
i
} in deme *i* (Table 1). When the plant has a *RES* allele matching the *AVR* allele of the parasite by which it is attacked, the plant mounts a successful resistance reaction, preventing the parasite from causing disease. The plant fitness is thus 1, and the fitness of *AVR* parasites attacking *RES* plants is 1-*c*_{
i
} . Normally, *c*_{
i
} ≈ 1 as these attacks are usually unsuccessful (Table 1), but note that *c*_{
i
} < 1 leads to a model of partial resistance [44]. The *RES* and *avr* alleles have constitutive fitness costs *u*_{
i
} and *b*_{
i
} to hosts and parasites respectively in deme *i* [15, 17]. In the metapopulation, GFG co-evolution takes place in a spatial structure in which demes are linked by migration of host seeds or pollen and of parasite spores. As in (2), selection in each deme takes place before migration between demes. We use models of gene frequencies, typical of population genetics, to investigate long-term outcomes of coevolution over time-scales of hundreds or thousands of generations; this means that epidemiological and life-cycle parameters are not specified explicitly but absorbed in the four fitness costs. Our model therefore implies that, as in most previous theoretical research on the GFG system, epidemiological processes can be regarded as density-independent.

Extending the notation of (1-3), the subscripts *H* and *P* refer to the host and parasite. *R*_{
i
} is the current frequency of *RES* resistance alleles in deme *i* (respectively, *r*_{
i
} is the frequency of *res* susceptibility alleles), and *R*_{
i
} ' (*r*_{
i
} ') the frequency in the next generation. Similarly *A*_{
i
} and *a*_{
i
} are the frequencies of avirulent (*AVR*) and virulent (*avr*) parasites. The recurrence equation for the change in the ratio of *RES* to *res* hosts in deme *i* between generations is calculated from Table 1:

Similarly, in the parasite population, the recurrence equation for the ratio of *AVR* to *avr* frequencies in deme *i* is:

In (4-5), host and parasite allele frequencies at generation *t*+1 are composed of a fraction *L*_{
Hi
} (*L*_{
Pi
} ) from deme *i*, and the sum of fractions *m*_{
Hji
} (*m*_{
Pji
} ) of migrants from all other demes *j ≠ i* to deme *i*. There are trivial equilibrium points where one allele is fixed in each species throughout the metapopulation but there is also a non-trivial, interior equilibrium where ${R}_{i}={R}_{i}^{\prime}={\widehat{R}}_{i}$ and ${A}_{i}={A}_{i}^{\prime}={\mathit{\xc2}}_{i}$. Values of the equilibrium frequencies of host alleles when the parasite (but not the host) migrates between demes, or *vice-versa*, are derived in the Additional File 1, section 3. Equilibrium frequencies in the parasite population depends on the host costs, *u* and *s* [14], and also on the host migration parameters (*L*_{
H
} and *m*_{
H
} ). Similarly, host allele equilibrium frequencies depend on the parasite fitness parameters *b* and *c*, as well as on parasite migration rates (*L*_{
P
} and *m*_{
P
} ).

In the special case when there is no migration in either species, the dynamics of the GFG system is described by a pair of recurrence equations for a GFG model in a single population [15, 27]:

and

In addition to trivial equilibrium points, the non-trivial, interior equilibrium is defined by ${R}_{i}={R}_{i}^{\prime}={\widehat{R}}_{i}$ and ${A}_{i}={A}_{i}^{\prime}={\mathit{\xc2}}_{i}$:

and

This equilibrium point is unstable in a population which is not connected to any other population, because there is only indirect FDS, and not negative direct FDS in (6). Any deviation of gene frequencies from equilibrium ultimately results in fixation of host and parasite alleles [15].

##### Model description with *2*demes

For further analysis of the GFG coevolutionary model, we simplify the system of equations (4-5) into a model of two demes linked by migration. We assume symmetrical migration between the two demes (following [30]), so that *m*_{
Pij
} = *m*_{
Pji
} = *m*_{
P
} and *m*_{
Hij
} = *m*_{
Hji
} = *m*_{
H
} . Host (*m*_{
H
} ) and parasite (*m*_{
P
} ) migration rates can be chosen with equal or different values. The cost of resistance, cost of virulence, cost of being diseased and cost to an *AVR* parasite of infecting a *RES* plant are respectively *u*_{
1
}*, b*_{
1
}*, s*_{
1
} and *c*_{
1
} in deme 1 and *u*_{
2
}*, b*_{
2
}*, s*_{
2
} and *c*_{
2
} in deme 2. The system of equations (4, 5) becomes as follows for deme 1:

and

Without migration, *m*_{
P
} = *m*_{
H
} = 0, this system collapses to the GFG system analysed in [15], which has no stable equilibrium at which the host and parasite are polymorphic.

## Results

### Analytical results for a GFG model with *n*demes

We first demonstrate that gene flow between heterogeneous demes generates negative direct FDS on both *RES* and *AVR* loci. For simplicity of notation from (4, 5), the frequencies ${\stackrel{\u0303}{R}}_{i}$ and ${\stackrel{\u0303}{r}}_{i}$ of the *RES* (and *res*) alleles after selection and before migration are ${\stackrel{\u0303}{R}}_{i}={R}_{i}\left(1-{u}_{i}\right)\left(1-{s}_{i}{a}_{i}\right)$ and ${\stackrel{\u0303}{r}}_{i}={r}_{i}\left(1-{s}_{i}\right)$. The change in the log-ratio of the frequencies *R*_{
i
} and *r*_{
i
} at the end of generation *t*, *ρ*_{
i
} = log(*R*_{
i
} /*r*_{
i
} ), is

so the rate of selection on resistance in the host population is (Additional File 1, sections 3, 4):

This differential is never positive. It is always negative, especially when gene frequencies are close to the equilibrium point, implying that there is negative direct FDS on the *RES* gene if there is migration between population *i* and other populations and if the fitness cost of resistance (*u*) or the cost of disease (*s*) differs between at least some populations, i.e. for some demes *j*, *u*_{
i
} *≠ u*_{
j
} (or *s*_{
i
} *≠ s*_{
j
} ). Note that these results do not assume any specific pattern of migration in the metapopulation.

Similarly for the parasite frequencies, writing ${\mathit{\xc3}}_{i}={A}_{i}\left(1-{c}_{i}{R}_{i}\right)$ and ${\mathit{\xe3}}_{i}={a}_{i}\left(1-{b}_{i}\right)$, the change in *α*_{
i
} = log(*A*_{
i
} /*a*_{
i
} ) is

The equation that describes direct FDS on the *AVR* locus is thus:

This differential is never positive, implying that negative direct FDS on the *AVR* gene is generated by migration of the parasite between populations in which the cost of virulence (*b*) or the cost to being unable to infect a *RES* host (*c*) varies between at least some populations (Additional File 1, sections 3-4), i.e. for some demes *j*, *b*_{
i
} *≠ b*_{
j
} (or *c*_{
i
} *≠ c*_{
j
} ).

We are interested here in the stability of a local equilibrium point (in a given deme *i*), which is given by the eigenvalues of the Jacobian matrix *J*_{
i
} for the given dynamical system (4-5).

For the polymorphic equilibrium to be stable in a discrete time dynamical system, both eigenvalues of *J*_{
i
} must lie within a unit circle centered on (-1, 0) in the complex plane. In other words, a necessary condition for stability is that the trace of the Jacobian matrix (8-9; the sum of the diagonal elements) is negative. This is the case if *dΔρ*_{
i
} /*dρ*_{
i
} *+ dΔα*_{
i
} /*dα*_{
i
} *< 0* [15]. This condition implies that there is negative direct FDS at either the *RES* locus, the *AVR* locus or both, because the change in *R*_{
i
} depends on its own value as well as on *a*_{
i
} and *vice-versa* (10-11).

### Analytical results for a GFG model with two demes

Having shown in (8, 9) that direct FDS is generated in this GFG coevolutionary model with *n* demes, we now investigate which coevolutionary parameters are most important for promoting stable, balanced polymorphism in a simplified GFG system with 2 demes (8, 9). In the following analysis, the frequency *θ*_{
i
} of coevolutionary cycles is calculated close to the internal equilibrium point in a single deme *i* (assuming no migration). This can be computed approximately by linearising the system of equations around the interior equilibrium point. Without migration, in deme *i*,

(Additional File 1, section 6). *θ*_{
i
} depends strongly on the values of *b*_{
i
} and *u*_{
i
} , either of which increase *θ*_{
i
} . The frequency of cycles depends more weakly on *s*_{
i
} , increasing with *s*_{
i
} especially when *s*_{
i
} is not much greater than *u*_{
i
} . In the usual case when *c*_{
i
} is close to 1 (*i.e*. when AVR parasites have very low fitness on RES plants) variation in *c*_{
i
} does not affect *θ*_{
i
} greatly.

In our GFG system with two demes, the difference between the frequencies of oscillation of the coevolutionary cycles in the two demes is proportional to (*c*_{1} = *c*_{2} = 1):

We can then calculate the diagonal coefficients of the Jacobian matrix *J*_{
1
} in deme 1 as a function of the equilibrium allele frequencies and the difference between the oscillation frequencies (Eq. S7.10, Additional File 1, section 7). We assume *b*_{
2
} = *b* and *b*_{
1
} = *b* + *β* but equal costs *u* and *s* between demes (*u*_{
1
} = *u*_{
2
} = *u* and *s*_{
1
} = *s*_{
2
} = *s*):

This implies that as the natural oscillation frequencies in the two demes diverge (Δ*θ* increases as *β* increases) because the costs of virulence *b*_{
1
} and *b*_{
2
} differ between demes, the strength of direct FDS on *R* changes in the two demes. With increasing Δ*θ* (13, 15), direct FDS thus becomes more negative in the deme with the lower cost *b* (here deme 2), and less negative in the deme with the higher cost *b* (here deme 1).

Now assuming different costs of virulence *u* (*u*_{
2
} = *u* and *u*_{
1
} = *u* + *ε*) or of disease *s* (*s*_{
1
} = *s* and *s*_{
2
} = *s* + *σ*) but equal *b* (*b*_{
1
} = *b*_{
2
} = *b*) between demes:

As *s* or *u* diverges between demes, Δ*θ* increases (because *ε* and *σ* increase) so direct FDS alters, with *d*Δ*α*_{2}/*dα*_{2} becoming more negative in the deme with lower *u* or higher *s* (here deme 2). Conversely, *d*Δ*α*_{1}/*dα*_{1} becomes less negative in the deme with the higher *u* or lower *s* (here deme 1).

Equations (14, 15) demonstrate a close relationship between Δ*θ* and direct FDS. This can be analysed close to the interior equilibrium point when the host cost parameters, *s* and *u*, are the same in both demes and there is no gene flow in the pathogen, or when the cost of pathogen virulence, *b*, is constant and there is no host gene flow. In the former case, Δ*θ* increases and *dΔα*_{
i
} /*dα*_{
i
} , becomes more negative as *b* diverges between demes (14). In the latter case, Δ*θ* increases and *dΔρ*_{
i
} /*dρ*_{
i
} becomes more negative as the cost of being diseased, *s* diverges between demes, and also as *u* diverges so long as *u*_{
i
} ≲ *s*/2 in deme *i* (see (13), Additional File 1, section 7).

### Simulation results for 2 demes

We explore the behaviour of the GFG model with two demes (8, 9) with respect to the various coevolutionary parameters in order to determine the parameters which most strongly influence the coevolutionary dynamics. Analytical conditions for the non-trivial equilibrium point to be stable cannot be derived because the dynamics of (4-5) are non-linear and there is no general solution for (*R*_{
i
}*, a*_{
i
} ) in a closed form. The quantitative behaviour of the system in general was therefore studied using numerical simulations.

When different demes have different values of one or more of the four parameters *b*, *c*, *u* and *s*, they oscillate at different frequencies (see (13) and Figures 1, 2). If the frequencies of the oscillations differ sufficiently between two or more of the populations and the demes are connected by migration (*i.e.* gene flow), the equilibrium points in all populations become stable rather than unstable (Figure 2b-d). Stabilisation of the oscillations is particularly responsive to differences in values of *b* and *u*, and to *s* when *s* is close to *u* (Figure 2b-d). Progress to stability is also determined by how far the initial gene frequencies are from the (unstable) equilibrium in each deme. In a system of two demes, if the initial frequencies are far from equilibrium in both demes, the dynamics are unstable in both locations (Figure 2e). If one or both demes are initially close to equilibrium, however, both of them can evolve to stable polymorphism if migration rates lie within an appropriate range (Figure 2f). Mathematically, this behaviour is explained by the existence of stable limit cycles [45]. This is biologically important because, when a new allele arises by mutation or by migration from a remote population, its frequency is almost invariably far from equilibrium. This does not destabilise the system, however, because all demes can evolve to a new stable equilibrium.

We investigated the occurrence of stable polymorphism quantitatively by simulating a model with fixed costs in deme 1 (*u*_{
1
} = *b*_{
1
} = 0.05 and *s*_{
1
} = 0.2). The costs of resistance and virulence were low, consistent with empirical evidence [46, 47] and in line with previous theoretical studies [15, 27]. The rates of migration (*m*_{
P
} = *m*_{
H
} ) and costs in deme 2 (*u*_{
2
} , *b*_{
2
} and *s*_{
2
} ) varied and the outcome of coevolution was recorded after 2,000 generations. The system was considered to be stable when the amplitude of the fluctuations of allele frequencies decreased over time and converged to an equilibrium value in both demes for three initial frequencies of resistant and virulent alleles (*R*_{
0
} = *a*_{
0
} = 0.05, 0.1 and 0.2 in both demes). This ensured that limit cycles occurred only for initial allele frequencies below 0.05. Combinations of parameter values in deme 2 were order in relation to the width of migration rate range, between the critical upper and lower values, which promoted stable polymorphism (Figure 3).

The stability (Figure 2b) or instability (Figure 2a) of the GFG system depended on the balance between the strength of selection and the migration rate (weak coupling, Figure 3). More precisely, stability arose with increasing difference between the natural periods of oscillation in the two populations (see (13, 14), Additional File 1, section 7). Asynchrony between oscillators is thus responsible for stability in GFG systems because it creates negative direct FDS (see (3) and Additional File 1, section7). In general, polymorphism occurred within an intermediate range of migration rates for given *b*, *u*, *s*. Below this range, demes behaved independently of one another and thus had unstable co-evolutionary dynamics (Figure 3). Above this range, all demes were synchronised to a frequency intermediate between the natural frequencies of each deme and the dynamics were unstable in all demes, with allele frequencies (*R*,*a*) spiralling outwards to fixation of virulent and susceptible alleles (Figure 2e, 3). Variation between demes for costs of virulence (*b*_{
2
} ≠ *b*_{
1
} in Figure 3) was an important factor promoting stability. Variation between demes in the cost of being diseased (*s*_{
2
} ≠ *s*_{
1
} in Figure 3) and cost of resistance (*u*_{
2
} ≠ *u*_{
1
} in Figure 3) influenced the stability of polymorphism to a lesser extent. The smallest range of migration rates for which stable polymorphism was observed occurred for absence of costs in deme 2 (*u*_{
2
} = *b*_{
2
} = 0 in Figure 3). Finally, comparing *b*_{
2
} or *u*_{
2
} = 0.01, 0.05 and 0.15 in Figure 3, other things being equal, increasing costs of resistance or virulence in deme 2 above values in deme 1 did not necessarily favour stable polymorphism. This counter-intuitive result occurs because direct FDS is determined by the difference of the values of costs between demes in a non-linear manner (15-16).

The results of Figure 2, based on the system of equations (11, 12), can be generalised to a system with arbitrary number of demes, because stability occurs in all populations in a deterministic model (Figure 4). As shown analytically (8-9), the system can be stable both in all demes and in the whole metapopulation if resistance, virulence or both are cost-free in some (but not all) demes (Figure 3).

### Transient polymorphism in a homogeneous metapopulation with two demes

An interesting special case occurs in a metapopulation with a homogeneous environment when all demes have the same set of parameter values but the initial allele frequencies are distant from equilibrium and differ between demes. Examples are provided for this model based on the system of equations (8, 9) assuming *u*_{
1
} = *u*_{
2
} , *b*_{
1
} = *b*_{
2
} , and *s*_{
1
} = *s*_{
2
} . There is first a transient phase in which allele frequencies move towards the unstable, interior equilibrium, driven by exchange of alleles between demes in which allele frequencies differ (Additional File 1, section 8). As frequencies converge on the equilibrium point, the dynamics in the two demes become synchronised, then the graph spirals outwards and alleles become fixed (Additional File 2, Figure S1). Increasing migration between demes shortens the length of the initial transient phase of quasi-stabilisation (Additional File 1, section 8).

### Simulation results for the GFG model with 4 demes

A stochastic version of the GFG model with four demes, based on equations (4, 5) illustrates a realistic situation with finite, variable host and parasite population sizes (here, both have size *N* = 1,000 individuals). At each host generation, a random number of individuals of each genotype is added to or removed from the populations, the maximum change being a fraction *F* (here, *F* = 0.05). For instance, the number of *RES* plants added in a given generation is: Δ*R = NRFσ* where *σ* is a random number from a uniform distribution between -1 and 1. The results (Figure 4b) are very similar to those of the deterministic model (Figure 4a). While allele frequencies spiral towards equilibrium, stochastic events nudge them away. This results in allele frequencies cycling around the theoretical equilibrium, particularly when genetic drift is limited. Higher values of genetic drift, and smaller population size (*N* smaller) lead to increased stochasticity and higher probability of allele fixation (not shown).

## Discussion

It has been proposed that spatial subdivision of populations maintains genetic diversity [32, 37, 38], in particular at genes controlling pathogenicity in parasites and resistance in hosts [30, 39, 40]. More specifically, it has been shown theoretically that spatial heterogeneity in a metapopulation can contribute to stabilising polymorphism in these genes if different demes have different environments, such that the coefficients of natural selection acting on the host or parasite vary between some or all demes [30, 40]. The coefficients of natural selection include the cost to a host of being diseased [30, 40] and, here, the genetic costs of host resistance and parasite virulence in a GFG system.

The theory reported here describes the genetic processes which underpin the stabilisation of polymorphism in coevolving hosts and parasites in a spatially structured population. It is shown that gene flow within a heterogeneous environment generates direct frequency-dependent selection, which can act together with the indirect frequency-dependent selection inherent in host-parasite interactions to generate long-term, balanced polymorphism at interacting host and parasite loci. This is consistent with the "trench warfare" scenario of host-parasite coevolution [2]. Note that the derivation of the mathematical conditions for the global stability of polymorphism and polymorphism in all demes lies beyond the present work, for which we refer readers to previous studies [34, 37, 38].

The fitness of host organisms depends on gene frequencies in their parasites and *vice-versa*. This process, which is well-understood [14, 17], is an example of indirect FDS [15]. Together with costs of resistance (*u*) and virulence (*b*), it causes the frequencies of interacting host and parasite alleles to cycle. The oscillations are centred on an equilibrium point at which there is polymorphism at the corresponding loci in the two species (Figure 2a).

### Direct Frequency-dependent selection

Gene flow in a heterogeneous environment generates direct frequency-dependent selection, such that the selective advantage of an allele in either species declines as that allele becomes more common (3). This has been described as balanced polymorphism due to heterogeneous habitats or migration-selection balance [34, 38, 48]. In the models of host-parasite coevolution analysed here, direct FDS acts together with indirect FDS to cause the cycles of gene frequencies to stabilise at a state of balanced polymorphism (Figures 2b-d, 2f). In the absence of ecological or epidemiological processes which generate direct FDS, the equilibrium is unstable and the oscillations expand outwards resulting ultimately in fixation of alleles in both species (Figures 2a, e). When demes have different environmental conditions, resulting in different values of *u*, *b* or the cost to a plant of being diseased (*s*), the periods of the cycles of gene frequencies differ (13). In accordance with the general results from [32, 34, 37, 48] in single species models and those of Nuismer for a GFG model [40], we show that greater difference in these coevolutionary parameters between two or more demes generates more strongly negative direct FDS and therefore a greater potential for stability of the polymorphic equilibrium point. Our first important result (3) therefore demonstrates that migration-selection balance is a case of direct FDS. Note, however, that each deme's equilibrium point is only stable over a range of low migration rates [34, 37, 48]. This principle also applies widely to biological interactions, since prey and predator numbers can also be stabilised by damping of oscillations in their numbers, for example if there is spatial variation such as a gradient of birth rates [49].

Damgaard [18] investigated a GFG model in a metapopulation where stable polymorphism occurs without costs of virulence or resistance (*u* = *b* = 0 in all demes). That model has spatially heterogeneous incidence of a second parasite species in a metapopulation with high rates of extinction and recolonisation of demes, and recolonisation of patches *via* a seed bank. We suggest that this model favours the occurrence of stable polymorphism because it comprises two features generating direct FDS, disease severity varying in space due to the prevalence of a second parasite (a specific example of spatial variation in costs relevant to the present paper) and a seed bank [27].

### Role of costs of resistance and virulence

Costs of resistance (*u*) and virulence (*b*) are required to drive the cyclical dynamics of host and parasite gene frequencies in the GFG model. A positive value of *u* reduces the frequency of resistance when virulence is common ($a>\mathit{\xe2}$) while a positive value of *b* reduces the frequency of virulence when resistance is rare ($R<\widehat{R}$). Our second important result states that, in a metapopulation, direct FDS is generated such that polymorphism can be stable even if one or both of these costs is zero in some demes, so long as they each have positive values in at least one deme (Figures 3, 4b). This implies that the observation of polymorphism in a given deme does not imply that the *RES* and *avr* alleles are costly in that deme. Instead, the deme may be linked by migration to other, possibly unobserved demes where *b*, *u* or both are positive (8-9). This is consistent with the lack of empirical evidence for high costs of *RES* and *avr* alleles [22, 46], with a few significant exceptions [21, 25, 50].

A third important result is that heterogeneity in costs of virulence (*b*) and to a lesser extent resistance (*u*) alleles are the main drivers for generating direct FDS and stability of polymorphism (Figure 3). In fact, variability among demes only for the cost for a plant of being diseased (*s* in Figure 3) may not create strong differences in oscillations between demes (14). Models [30, 39, 40] and empirical tests [5–7, 41, 51] of the geographic mosaic of coevolution have highlighted the importance of variation for disease severity or presence/absence of parasites for driving the coevolutionary dynamics (hot and cold spots of coevolution). Most observations of the coevolutionary dynamics have thus focused on revealing heterogeneity for disease severity or disease presence depending on local ecological conditions (*e.g.* [52]) and genotype-by-genotype-by-environment interactions [53]. Our results indicate, however, that to understand the mechanisms maintaining genetic variability at plant resistance and parasite virulence genes it would also be fruitful to study variation in the costs of virulence [23, 24] or resistance [22] alleles in different environments. Recent experimental evidence for variability of costs has paved the way for future empirical tests of similar variability in natural populations. However, little is known as yet about the genetic mechanisms generating variation in costs in response to physical characteristics of habitats, such as temperature or humidity. Our results also suggest that variability in levels of partial resistance between demes (*c* < 1 in (4, 5) and Table 1) may not create strong differences in oscillations between demes (13), and thus may not be a main determinant in promoting stable polymorphism in GFG systems [44].

### Metapopulation with homogeneous environment

In a metapopulation in which all demes have identical environments, transient polymorphism can be generated in two ways. Firstly, as shown here, unstable dynamics can create an impression of stable polymorphism across the metapopulation (Additional File 2, Figure S1; [30]); this has been described as 'statistical polymorphism' in prey-predator models [54]. In a metapopulation with a high rate of population extinction, recolonisation of demes produces large, random variation in allele frequencies between populations, sustaining transient polymorphism and thus increasing the lifetime of alleles [20, 30], especially when there are several interacting pairs of *RES* and *AVR* genes [19, 20, 55]. Asynchrony can arise between identical coupled oscillators, providing that each one has a specific noise function [56]. This implies that negative direct FDS may arise in a homogeneous metapopulation if each deme exhibits high levels of random processes such as drift and extinction-recolonisation with different statistical characteristics [20, 30]. Note that the model of Frank [55] maintains polymorphism in an homogeneous metapopulation by considering density-dependent disease transmission following a Lotka-Volterra model for multiple GFG loci in host and parasite. Density-dependence disease transmission, central to ecological feedback models [57], generates negative direct FDS and thus to stabilises GFG polymorphism in single populations [27].

Secondly, when host and parasite migration is limited to adjacent demes, and initial frequencies differ between populations, waves of genotypes can spread in the metapopulation [19, 30]. Asynchrony can then be maintained by a few patches which are out of phase with the rest of the metapopulation and act as pacemakers [19, 30], potentially leading to damping of local oscillations and stabilisation of gene frequencies, analogous to the process shown in Figure 4. Polymorphism is thus present in the metapopulation as a whole, but not in each deme. It remains for empirical studies to be designed to test the existence of such phenomena (but see [10]).

### Observing GFG coevolution

Observation of the long-term dynamics of polymorphism at interacting host and parasite genes and empirical tests to distinguish the "trench warfare" and "arms race" scenarios require either the collection of very long time series for host and parasite populations [58] or the inference of past evolutionary events from sequence data [2]. The increasing availability of genomic data for multiple genes and multiple populations may allow tests of a wide range of complex coevolutionary scenarios (*e.g.* [59]) arising from heterogeneous abiotic conditions in space and genotype-by-genotype-by-environment interactions [53].

The most promising body of empirical research testing coevolutionary scenarios analogous to our theory comes from controlled laboratory experiments of coevolving populations of phages (*e.g.* Φ2, PP7, T7) and bacteria (e.g. *Pseudomonas fluorescens, P. aeruginosa, Escherichia coli*). Even though bacteria-phage systems may not present GFG interactions, but may have inverse-GFG relationships [60], coevolutionary dynamics are observed in those experiments. The influence of key components of the theory on geographic mosaic of coevolution on actual coevolutionary dynamics has been empirically tested. These factors include for example gene flow across a spatially structured landscape with productivity gradients [5–8], the importance of migration of hosts from parasite-free demes [41], or the effect of dispersal from hot-spots to cold spots and *vice versa* on the speed of coevolution [10].

These experimental designs of structured heterogeneous populations with gene flow can be adapted to test experimentally key predictions from GFG models. Genetic variation in the costs of bacterial resistance or viral virulence alleles can be quantified (as has been done for example with pepper-infecting tobamoviruses, [25]) across environments (see [9, 61, 62]). Values of host fitness reduction upon infection determine both the expected frequencies of coevolutionary cycles (equation 13) and the occurrence of stable polymorphism in different demes linked by migration [42, 62]. This study indicates that heterogeneous costs of resistance or virulence between demes (even zero costs in some but not all demes) is a more important determinant of stability in a coevolving host-parasite interaction rather than heterogeneous distribution of the cost of being diseased. Our results imply that in a homogeneous metapopulation, high gene flow synchronises all demes to the most unstable dynamics, a phenomenon which can be tested empirically (for example see [10, 51]). Finally, our simulations suggest that in an heterogeneous metapopulation, each deme presents a specific coevolutionary dynamics characterized by its equilibrium point and frequency of oscillations (Figure 4). Our results agree thus with theoretical [30, 58] and empirical [62] studies implying that host-parasite adaptation may not be positively correlated in space and time.

Finally, our GFG model assumes that epidemiological processes are density-independent, and makes the simplifying assumption that population sizes are equal between demes. When realistic host-parasite systems are considered, one may expect parasite and host dispersal to depend on the density of susceptible and infected hosts in each patch. Fluctuations in host density across patches would thus potentially affect patterns of local adaptation [20, 29, 40] and maintenance of stable polymporphism. Future analysis of coevolution would thus benefit from integrating epidemiological processes and ecological feedback (e.g. [57]) into current GFG models.

## Conclusions

The general principle that migration in heterogeneous metapopulations can stabilise polymorphism in GFG interactions is applicable to any system of victims and exploiters, including interactions between animals and parasites, predators and prey, and hosts and parasitoids [30, 48, 49]. It provides a mechanism to drive the maintenance of biological diversity in models of the geographic mosaic of co-evolution [39]. We predict that the GFG polymorphisms which are observable in nature may involve genes which have fitness costs that vary due to varying abiotic or biotic conditions in space (between demes, [22–24]) or in time (temporal change, [63]). Our results also support the view that monoculture in arable or livestock farming increases the risk and potential severity of disease [64], not only because genetic diversity is limited but also because agricultural environments are simplified and generally uniform.

## References

- 1.
Holub EB: The arms race is ancient history in

*Arabidopsis*, the wildflower. Nat Rev Genet. 2001, 2: 516-527. 10.1038/35080508. - 2.
Stahl EA, Dwyer G, Mauricio R, Kreitman M, Bergelson J: Dynamics of disease resistance polymorphism at the Rpm1 locus of

*Arabidopsis*. Nature. 1999, 400: 667-671. 10.1038/23260. - 3.
Brown JKM, Tellier A: Plant-parasite coevolution: bridging the gap between genetics and ecology. Annu Rev Phytopathol. 2011, 49: 345-367. 10.1146/annurev-phyto-072910-095301.

- 4.
Brockhurst MA, Rainey PB, Buckling A: The effect of spatial heterogeneity and parasites on the evolution of host diversity. Proc Roy Soc Lond Ser B. 2004, 271: 107-111. 10.1098/rspb.2003.2556.

- 5.
Forde SE, Thompson JN, Bohannan BJM: Adaptation varies through space and time in a coevolving host- parasitoid interaction. Nature. 2004, 431: 841-844. 10.1038/nature02906.

- 6.
Forde SE, Thompson JN, Bohannan BJM: Gene flow reverses an adaptive cline in a coevolving host-parasitoid interaction. Am Nat. 2007, 169: 794-801. 10.1086/516848.

- 7.
Forde SE, Thompson JN, Holt RD, Bohannan BJM: Coevolution drives temporal changes in fitness and diversity across environments in a bacteria-bacteriophage interaction. Evolution. 2008, 62: 1830-1839.

- 8.
Lopez-Pascua LDC, Brockhurst MA, Buckling A: Antagonistic coevolution across productivity gradients: an experimental test of the effects of dispersal. J Evol Biol. 2010, 23: 207-211. 10.1111/j.1420-9101.2009.01877.x.

- 9.
Lopez-Pascua LDC, Buckling A: Increasing productivity accelerates host-parasite coevolution. J Evol Biol. 2008, 21: 853-860. 10.1111/j.1420-9101.2008.01501.x.

- 10.
Vogwill T, Fenton A, Buckling A, Hochberg ME, Brockhurst MA: Source Populations Act as Coevolutionary Pacemakers in Experimental Selection Mosaics Containing Hotspots and Coldspots. Am Nat. 2009, 173: E171-E176. 10.1086/597374.

- 11.
Luijckx P, Ben-Ami F, Mouton L, Du Pasquier L, Ebert D: Cloning of the unculturable parasite Pasteuria ramosa and its Daphnia host reveals extreme genotype-genotype interactions. Ecol Lett. 2011, 14: 125-131. 10.1111/j.1461-0248.2010.01561.x.

- 12.
Wilfert L, Jiggins FM: Host-parasite coevolution: genetic variation in a virus population and the interaction with a host gene. J Evol Biol. 2010, 23: 1447-1455. 10.1111/j.1420-9101.2010.02002.x.

- 13.
Jones JDG, Dangl JL: The plant immune system. Nature. 2006, 444: 323-329. 10.1038/nature05286.

- 14.
Frank SA: Models of plant pathogen coevolution. Trends Genet. 1992, 8: 213-219.

- 15.
Tellier A, Brown JKM: Stability of genetic polymorphism in host-parasite interactions. Proc R Soc B-Biol Sci. 2007, 274: 809-817. 10.1098/rspb.2006.0281.

- 16.
Kot M: Elements of Mathematical Ecology. 2001, Cambridge, UK: Cambridge University Press

- 17.
Leonard KJ: Selection Pressures and Plant Pathogens. Ann NY Acad Sci. 1977, 287: 207-222. 10.1111/j.1749-6632.1977.tb34240.x.

- 18.
Damgaard C: Coevolution of a plant host-pathogen gene-for-gene system in a metapopulation model without cost of resistance or cost of virulence. J Theor Biol. 1999, 201: 1-12. 10.1006/jtbi.1999.1007.

- 19.
Sasaki A, Hamilton WD, Ubeda F: Clone mixtures and a pacemaker: new facets of Red-Queen theory and ecology. Proc R Soc Lond Ser B-Biol Sci. 2002, 269: 761-772. 10.1098/rspb.2001.1837.

- 20.
Thrall PH, Burdon JJ: Evolution of gene-for-gene systems in metapopulations: the effect of spatial scale of host and pathogen dispersal. Plant Pathol. 2002, 51: 169-184. 10.1046/j.1365-3059.2002.00683.x.

- 21.
Tian D, Traw MB, Chen JQ, Kreitman M, Bergelson J: Fitness costs of R-gene-mediated resistance in

*Arabidopsis thaliana*. Nature. 2003, 423: 74-77. 10.1038/nature01588. - 22.
Orgil U, Arakit H, Tangchaiburana S, Berkey R, Xiao S: Intraspecific genetic variations, fitness cost and benefit of RPW8, a disease resistance locus in

*Arabidopsis thaliana*. Genetics. 2007, 176: 2317-2333. 10.1534/genetics.107.070565. - 23.
Bahri B, Kaltz O, Leconte M, de Vallavieille-Pope C, Enjalbert J: Tracking costs of virulence in natural populations of the wheat pathogen,

*Puccinia striiformis*f. sp.*tritici*. BMC Evol Biol. 2009, 9: 26-10.1186/1471-2148-9-26. - 24.
Montarry J, Hamelin FM, Glais I, Corbière R, Andrivon D: Fitness costs associated with unnecessary virulence factors and life history traits: evolutionary insights from the potato late blight pathogen

*Phytophthora infestans*. BMC Evol Biol. 2010, 10: 283-10.1186/1471-2148-10-283. - 25.
Fraile A, Pagan I, Anastasio G, Saez E, Garcia-Arenal F: Rapid Genetic Diversification and High Fitness Penalties Associated with Pathogenicity Evolution in a Plant Virus. Mol Biol Evol. 2011, 28: 1425-1437. 10.1093/molbev/msq327.

- 26.
Tellier A, Brown JKM: Polymorphism in multilocus host-parasite coevolutionary interactions. Genetics. 2007, 177: 1777-1790. 10.1534/genetics.107.074393.

- 27.
Tellier A, Brown JKM: The influence of perenniality and seed banks on polymorphism in plant-parasite interactions. Am Nat. 2009, 174: 769-779. 10.1086/646603.

- 28.
Leonard KJ: Stability of Equilibria in a Gene-for-Gene Coevolution Model of Host-Parasite Interactions. Phytopathology. 1994, 84: 70-77. 10.1094/Phyto-84-70.

- 29.
Gandon S, Nuismer SL: Interactions between genetic drift, gene flow, and selection mosaics drive parasite local adaptation. Am Nat. 2009, 173: 212-224. 10.1086/593706.

- 30.
Gavrilets S, Michalakis Y: Effects of environmental heterogeneity on victim-exploiter coevolution. Evolution. 2008, 62: 3100-3116. 10.1111/j.1558-5646.2008.00513.x.

- 31.
Kawecki TJ, Ebert D: Conceptual issues in local adaptation. 2004, 7: 1225-1241.

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

- 33.
Bulmer MG: Multiple niche polymorphism. Am Nat. 1972, 106: 254-257. 10.1086/282765.

- 34.
Karlin S, Campbell RB: Selection-migration regimes characterized by a globally stable equilibrium. Genetics. 1980, 94: 1065-1084.

- 35.
Maynard-Smith J: Genetic polymorphism in a varied environment. Am Nat. 1970, 104: 487-490. 10.1086/282683.

- 36.
Nagylaki T, Lou Y: Evolution under the multiallelic Levene model. Theor Pop Biol. 2006, 70: 401-411. 10.1016/j.tpb.2006.03.002.

- 37.
Karlin S: Classification of selection migration structures and conditions for a protected polymorphism. Evol Biol. 1982, 14: 61-204.

- 38.
Nagylaki T: Introduction to Theoretical Population Genetics. 1992, Berlin-Heidelberg-New York: Springer-Verlag

- 39.
Thompson JN: The Geographic Mosaic of Coevolution. 2005, Chicago: University of Chicago Press

- 40.
Nuismer SL: Parasite local adaptation in a geographic mosaic. Evolution. 2006, 60: 24-30.

- 41.
Brockhurst MA, Buckling A, Poullain V, Hochberg ME: The impact of migration from parasite-free patches on antagonistic host-parasite coevolution. Evolution. 2007, 61: 1238-1243. 10.1111/j.1558-5646.2007.00087.x.

- 42.
Brockhurst MA, Buckling A, Rainey PB: Spatial heterogeneity and the stability of host-parasite coexistence. J Evol Biol. 2006, 19: 374-379. 10.1111/j.1420-9101.2005.01026.x.

- 43.
Wallace B: Hard and Soft Selection Revisited. Evolution. 1975, 29: 465-473. 10.2307/2407259.

- 44.
Antonovics J, Thrall PH, Burdon JJ, Laine AL: Partial resistance in the

*Linum*-*Melampsora*host-pathogen system: does partial resistance make the Red Queen run slower?. Evolution. 2011, 65: 512-522. 10.1111/j.1558-5646.2010.01146.x. - 45.
May RM: Limit Cycles in Predator-Prey Communities. Science. 1972, 177: 900-902. 10.1126/science.177.4052.900.

- 46.
Bergelson J, Purrington CB: Surveying patterns in the cost of resistance in plants. Am Nat. 1996, 148: 536-558. 10.1086/285938.

- 47.
Brown JKM: A cost of disease resistance: paradigm or peculiarity?. Trends Genet. 2003, 19: 667-671. 10.1016/j.tig.2003.10.008.

- 48.
Karlin S, McGregor J: Polymorphisms for genetic and ecological systems with weak coupling. Theor Pop Biol. 1972, 3: 210-238. 10.1016/0040-5809(72)90027-5.

- 49.
Hochberg ME, van Baalen M: Antagonistic coevolution over productivity gradients. Am Nat. 1998, 152: 620-634. 10.1086/286194.

- 50.
Thrall PH, Burdon JJ: Evolution of virulence in a plant host-pathogen metapopulation. Science. 2003, 299: 1735-1737. 10.1126/science.1080070.

- 51.
Vogwill T, Fenton A, Brockhurst MA: Dispersal and natural enemies interact to drive spatial synchrony and decrease stability in patchy populations. Ecol Lett. 2009, 12: 1194-1200. 10.1111/j.1461-0248.2009.01374.x.

- 52.
Soubeyrand S, Laine AL, Hanski I, Penttinen A: Spatiotemporal structure of host-pathogen interactions in a metapopulation. Am Nat. 2009, 174: 308-320. 10.1086/603624.

- 53.
Laine AL, Tellier A: Heterogeneous selection promotes maintenance of polymorphism in host-parasite interactions. Oikos. 2008, 117: 1281-1288. 10.1111/j.0030-1299.2008.16563.x.

- 54.
Allen JC: Mathematical models of species interactions in time and space. Am Nat. 1975, 109: 319-342. 10.1086/283000.

- 55.
Frank SA: Coevolutionary genetics of plants and pathogens. Evol Ecol. 1993, 7: 45-75. 10.1007/BF01237734.

- 56.
Abta R, Shnerb NM: Angular velocity variations and stability of spatially explicit prey-predator systems. Phys Rev E. 2007, 75: 1-7.

- 57.
Best A, White A, Kisdi E, Antonovics J, Brockhurst MA, Boots M: The evolution of host-parasite range. Am Nat. 2010, 176: 63-71. 10.1086/653002.

- 58.
Gandon S, Buckling A, Decaestecker E, Day T: Host-parasite coevolution and patterns of adaptation across time and space. J Evol Biol. 2008, 21: 1861-1866. 10.1111/j.1420-9101.2008.01598.x.

- 59.
Caicedo AL, Schaal BA: Heterogeneous evolutionary processes affect R gene diversity in natural populations of Solanum pimpinellifolium. Proc Natl Acad Sci USA. 2004, 101: 17444-17449. 10.1073/pnas.0407899101.

- 60.
Fenton A, Antonovics J, Brockhurst MA: Inverse-gene-for-gene infection genetics and coevolutionary dynamics. Am Nat. 2009, 174: E230-E242. 10.1086/645087.

- 61.
Poullain V, Gandon S, Brockhurst MA, Buckling A, Hochberg ME: The evolution of specificity in evolving and coevolving antagonistic interactions between a bacteria and its phage. Evolution. 2008, 62: 1-11.

- 62.
Gomez P, Buckling A: Bacteria-phage antagonistic coevolution in soil. Science. 2011, 332: 106-109. 10.1126/science.1198767.

- 63.
Mostowy R, Engelstadter J: The impact of environmental change on host-parasite coevolutionary dynamics. Proc R Soc B-Biol Sci. 2011, 278: 2283-2292. 10.1098/rspb.2010.2359.

- 64.
Brown JKM, Hovmoller MS: Aerial dispersal of pathogens on the global and continental scales and its impact on plant disease. Science. 2002, 297: 537-541. 10.1126/science.1072678.

## Acknowledgements

The authors thank two anonymous referees for helpful comments. This research was supported in part by the Biotechnology and Biological Sciences Research Council. A.T. acknowledges support from the Volkswagen Stiftung (grant I/82752) and DFG grant (HU1776/1).

## Author information

### Affiliations

### Corresponding author

## Additional information

### Authors' contributions

AT and JKMB designed and performed research, and wrote the paper. All authors read and approved the final manuscript.

## Electronic supplementary material

### 12862_2011_1968_MOESM1_ESM.PDF

Additional file 1: Additional Information for analytical results. The file contains 8 sections describing details of the analytical derivations. (PDF 163 KB)

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Tellier, A., Brown, J.K. Spatial heterogeneity, frequency-dependent selection and polymorphism in host-parasite interactions.
*BMC Evol Biol* **11, **319 (2011). https://doi.org/10.1186/1471-2148-11-319

Received:

Accepted:

Published:

### Keywords

- coevolution
- natural selection
- metapopulation dynamics
- gene-for-gene relationship
- resistance
- avirulence
- boom-and-bust cycles
- frequency-dependent selection