Introduction

Landscape genetics is an emerging field of research that seeks to understand how the structure of habitat and matrix influences the genetics of spatially structured populations (Manel et al., 2003; Storfer et al., 2007). The majority of work in this area has focussed on describing and understanding spatial patterns of neutral genetic variability and has considered populations with stable biogeographic ranges. However, it is increasingly recognized that this may provide a rather poor indication of how adaptive variation is structured across a landscape. In addition, many species are already shifting their biogeographic ranges as the climate changes (Parmesan and Yohe, 2003), and others are undergoing range expansions as they invade regions where they are non-native. Thus, there is considerable current interest in the biology of dynamic species' ranges, including genetic (for example, Lee, 2002; Edmonds et al., 2004; Klopfstein et al., 2006) and evolutionary processes (for example, Hänfling and Kollmann, 2002; Travis and Dytham, 2002; Lambrinos, 2004; Simmons and Thomas, 2004). Theoretical models, within landscape ecology, have demonstrated that the structure of a landscape, in terms of the extent and pattern of habitat availability, can influence the spatial population dynamics of both invasive spread (With, 2002) and range shifting in response to climate change (McInerny et al., 2007). These methods can readily be extended to incorporate population genetics to determine how different key features of a landscape, such as habitat boundaries, influence evolutionary processes.

Ecological boundaries arise across a wide range of habitats and landscapes and have a diverse impact on species' and community dynamics (Cadenasso et al., 2003 and references within). The response of individuals to habitat edges is species specific. Species in many groups disperse their seeds, or offspring, passively and have little, or no, control over where they move to. For example, a large proportion of plant seeds are dispersed by wind (for example, Tackenberg et al., 2003), whereas many species of spiders, spider mites and moth larvae utilize a high-risk dispersal strategy using aerial balloons (for example, Bonte et al., 2003; Bell et al., 2005). These passively dispersed species will show little response to habitat boundaries, whereas those species that exert more control over their dispersal, for example, most birds, mammals and amphibia and many insects, will exhibit very different movement behaviours close to boundaries than they typically do away from them (for example, Stevens et al., 2006; Chapman et al., 2007). Spatial models are a useful tool for determining how behaviour at these boundaries might influence population or community dynamics. By assuming different rules at these edges (Fagan et al., 1999), models can incorporate the different behaviours that organisms may exhibit at habitat boundaries. Three different boundary conditions are widely implemented in simulation and mathematical modelling—absorbing, reflective and periodic (sometimes also termed cyclic or torus). Absorbing boundary conditions lead to individuals being completely removed from the population when they disperse to a region or patch beyond the boundary and are most appropriate for modelling passively dispersed organisms. Reflective conditions result in impermeable edges, so individuals will ‘bounce off’ the boundary and will be positioned in a patch before that edge. Organisms that disperse actively, and react to habitat edges by changing their movement behaviour, are more appropriately modelled using reflective conditions. Periodic boundary conditions differ in that they are a theoretic construct designed to approximate a system with an infinite number of patches so, for example, individuals that disperse off the left and top of a lattice will reappear at the right and bottom. Many theoretical studies present results that are all obtained using a single boundary condition, in some cases with a statement suggesting that results are similar when alternative conditions are employed. For example, studies have found boundary conditions to have no (Molofsky et al., 2002) or little effect (Comins et al., 1992; Kean and Barlow, 2000), whereas others quote any effect to have led to similar results (Etienne et al., 2002; Leblois et al., 2006). Few studies present rigorous analyses of the potential for different boundary conditions to generate different results. Here we conduct simulations to assess how habitat edges, together with boundary conditions, affect the dynamics of mutations that occur during a range expansion.

There has been considerable recent interest in understanding how the spatial dynamics of range expansions determine patterns of neutral genetic variability in recently colonized regions (for example, Ibrahim et al., 1996; Austerlitz and Garnier-Géré, 2003; Bialozyt et al., 2006). Complementing this, Edmonds et al. (2004) and Klopfstein et al. (2006) have investigated in some detail the fate of single novel mutants that occur during range expansion (Edmonds et al., 2004; Klopfstein et al., 2006). Neutral mutations that arise towards the front of a range expansion can sometimes ‘surf’ on the wave of advance, attaining much higher frequency and spatial extent than would be anticipated for a stationary population (Edmonds et al., 2004; Klopfstein et al., 2006). Occurring close to the expanding front confers two key advantages on a novel mutation: firstly, it is likely to suffer from reduced density dependence, as demes towards the front are likely to be below carrying capacity; secondly, being close to the front makes it more likely that its progeny will become the first individuals to colonize patches beyond the existing front, themselves then benefiting from little intraspecific competition. Klopfstein et al. (2006) suggested that this surfing effect should increase the adaptive potential of range-expanding populations. However, they only considered the fate of neutral mutations and, given the sometimes poor correlation between patterns of neutral and adaptive variability (for example, Knopp et al., 2007), there is a need for further studies that consider the behaviour of non-neutral mutations. A recent, direct extension of the Edmonds et al. (2004) approach has demonstrated that the surfing effect is important regardless of a mutant's fitness effect (Travis et al., 2007); mutations occurring close to the front of an expanding range always have a higher probability of survival, on average reach a higher total abundance and are present within a greater number of demes. Travis et al. (2007) also showed that the spatial distribution of a surviving mutant differs considerably depending on its fitness effect, with most surviving beneficial mutations having their centroid close to where they originated, whereas most surviving deleterious mutations have a spatial distribution concentrated close to the expanding front. In a further recent extension, Burton and Travis (2008) developed a two-locus model, incorporating sign epistasis, and demonstrated that fitness peak shifts are more likely during range expansion due to the importance of this surfing effect for the survival and abundance of deleterious mutations. Here, we extend the methods used by Travis et al. (2007) to consider how surfing dynamics are influenced by landscape structure. In particular we are interested in how habitat edges, and the behaviour of individuals at those edges, determine the dynamics of a novel mutation.

We use a coupled-map lattice to establish how elements of landscape structure and individual behaviour in response to habitat edges affect survival and subsequent population dynamics of novel mutations occurring within an expanding range.

We study the effect of the initial location of a mutant, relative to the edge of the lattice, for three different boundary conditions. We determine how the probability of mutant survival to different time points is modified by its initial location and also assess how the frequency and spatial extent of surviving mutants may vary according to where and when they first occurred. We then run two sets of simulations to assess how landscape structure might modify the dynamics of mutations occurring during range expansions. In the first set of simulations, a single block of habitat is made unsuitable within the centre of the lattice, whereas in the second a short, narrow corridor provides the only migration route between two large areas of intact habitat. We discuss the implications of our results for populations expanding their ranges across complex landscapes and highlight some directions that future studies might pursue.

The model

We use a spatial model to simulate the occurrence of mutations within an expanding range under different boundary conditions. This model is an extension of recent studies investigating the dynamics of neutral (Edmonds et al., 2004; Klopfstein et al., 2006) and non-neutral (Travis et al., 2007; Burton and Travis, 2008) mutations arising at expanding range margins. Here, we consider the effects of employing different boundary conditions and the position of a mutation's origin on the fate and distribution of both neutral mutations and those that alter the relative fitness of individuals. We also investigate the potential role of landscape structure, running two sets of simulations on arenas modified to incorporate some habitat complexity.

Spatial dynamics

We simulate the range expansion of haploid individuals on a rectangular two-dimensional stepping stone grid (20 rows × 800 columns). A population comprising a single genotype (subsequently referred to as the ancestral genotype) is introduced into the left-most 50 columns, and for 20 generations it is restricted to this region. After these 20 generations, the population is allowed to expand its range. A novel mutant is introduced at a pre-specified location ΔT generations after that deme has been colonized by the ancestral genotype. Unless stated otherwise, novel mutants are introduced at x=100. In most of the results presented, the mutant is introduced as soon as the patch is colonized, that is, ΔT=0. Each simulation runs for 100 generations after the novel mutant is introduced or until the mutant becomes extinct. We investigate the fate of single mutations that occur at the edge of the range expansion and collect data to ascertain how both the survival probability and spatial dynamics of a novel mutant depend on where it arises. Figure 1 schematically illustrates the key features of the model.

Figure 1
figure 1

A simplified schematic illustrating the essential dynamics incorporated in the model. A population of the ancestral genotype is allowed to expand from the left-hand side of the arena into black, unoccupied space. A single mutant is introduced into patch X as soon as the population colonizes that location. Here, the ancestral genotype is depicted in dark grey, the number of mutant individuals in patches containing both genotypes is indicated in light grey cells, and white illustrates patches containing only mutant individuals.

The abundance of individuals within each deme is limited by a carrying capacity K. In each generation, individuals produce a number of offspring drawn at random from the Poisson distribution with mean R. Offspring inherit the parental genotype and always survive to the next generation if the number of individuals within each patch is not greater than K. If K is exceeded, then the number of mutant and non-mutant juveniles that survive to the next generation is drawn at random from Wallenius' non-central hypergeometric distribution (Wallenius, 1963). Using this distribution provides a computationally efficient way of simulating biased lottery competition. Four parameters are required to make each random draw from this distribution: the number of adults that will be present in the next generation (K), the number of mutants in the juvenile pool, the total number of juveniles and the bias. If the bias is set to 1.0, the model simulates the dynamics of a neutral mutation. Values of this parameter greater than 1.0 are used to simulate the dynamics of beneficial mutations, whereas values less than 1.0 are used for deleterious mutations. For example, an individual with a bias of 1.1 is 10% more likely to survive to the next generation than an individual with a bias of 1.0. Surviving juveniles disperse with probability d, and emigrating individuals move at random to one of the nearest four neighbouring patches. In all the results reported here, K=10. We have conducted a sensitivity analysis using K=5, 10, 30, 50 and 100. Qualitatively the results are extremely similar, as has been previously reported by Klopfstein et al. (2006).

Behaviour at edges

We run simulations using three different boundary conditions. We initially run the model with absorbing boundaries where individuals dispersing off the edge of the lattice are removed from the population. A second set of simulations is undertaken using reflective boundaries. Here, individuals that should disperse to a deme off the top or bottom of the lattice are instead relocated to one of the remaining nearest neighbouring cells to the origin, chosen at random, nearest to the original destination in the neighbouring horizontal plane. The final set of simulations is carried out using periodic boundary conditions to simulate an effectively infinite range width. Here, individuals leaving the top of the lattice re-enter at the bottom with an equivalent x-coordinate and vice versa. Individuals that disperse off the back of the expanding range (that is, attempt to move to the left from column 0) are removed from the population so that they do not reappear on the right hand side of the lattice.

The simulation experiments

We run simulations for each of three mutant fitness values for each of the boundary conditions. The ancestral genotypes have a fitness of 1.0 and mutant individuals are, in turn, given fitness values of 0.80 (for deleterious mutations), 1.0 (for neutral mutations) and 1.25 (for beneficial mutations). Here, set values of K=10 and R=1.8 are used for every simulation. For each combination of fitness value and boundary condition, we run simulations varying the y-coordinate from 0 to 9. Mutants are always introduced at x=100. For each introduction coordinate, the model is repeated until we have 100 successful simulations. A successful simulation is defined as a run of the model where at least one individual with the mutant genotype is present within the population for 100 generations following the mutant's introduction. This provides sufficient data to assess how both the survival probability and subsequent dynamics of a mutant varies depending on where it arises. To aid interpretation of the genetic results, we also collect data on the position of the population's range front in relation to the habitat edge. For all three boundary conditions we run the simulations, and after 100 generations of range expansion we determine the y-coordinate(s) of maximum range expansion. We count the number of times that the front is present at each y-coordinate.

For each simulation, data on the total number of individuals, the number of mutants, the number of demes occupied by mutants and the survival probability of mutant individuals are collected for each position from the top (y=0) to the centre (y=9) of the lattice. The spatial distribution of the mutants is also investigated in each of the simulations by recording the average x- and y-coordinate of all mutant individuals to give the centroid of each mutant population. The coordinates of the demes occupied by mutant individuals furthest from this centroid are also recorded. Simulations are carried out for dispersal probabilities of 0.1, 0.2 and 0.3. We also run a further set of simulations varying ΔT and additionally collect equivalent data to assess how the fate of mutations occurring in a stationary range depends on where they occur in relation to the habitat edge.

Landscape structure

Landscapes are very rarely homogenous at any spatial scale, and heterogeneity in patch suitability may play an important role in determining the fate of mutations according to where they arise. We run simulation experiments to establish how two simple and abstract patterns of habitat availability influence the dynamics of the mutants during range expansion. These simulations are very similar to those already described, except that now a set of patches are deemed unsuitable for the species (shown in red in Figure 2). We also vary both the x- and y-coordinates of mutant introduction in these simulations. Range expansion is initiated as in previous simulations on a 20 rows × 800 columns grid and data are collected on the survival and subsequent dynamics of mutants arising in all patches where 100x112 and 0y19. Information is collected for these x-coordinates, as they are those closest to the habitat feature where the effects are likely to be greatest. Mutations introduced outside of these values would be affected less by the landscape heterogeneity. Pragmatically, we are limited in how broad the area of the landscape is over which to collect data, as it is a computer-intensive process. For example, to draw a single pixel on Figure 7, it required 62 500 simulations (before 100 mutants had survived for 100 time steps), and in total we used 20 processors over almost 3 months to obtain all the data presented in this article.

Figure 2
figure 2

Snapshots from two independent simulations illustrating the typical dynamics observed. (a) Snapshots for simulations conducted with a patch of unoccupied habitat. (b) Snapshots of a simulation incorporating a habitat corridor. Here, red indicates unavailable habitat, black unoccupied space and the darker shade of grey shows patches where only the ancestral genotype is present. White depicts demes where only the mutant is present and mid-grey depicts those demes where both the genotypes occur. A population made up entirely of the ancestral genotype is allowed to expand from the left of the arena and, after 100 time steps, a mutation occurs at the range front. The figures illustrate the spatial spread and extent of the expanding population and the mutant cloud at three further time points. These graphics were generated for beneficial mutants (fitness=1.25), K=10 and R=1.8.

Results

Survival and dynamics of mutants

Beneficial mutations always have a higher probability of survival than neutral mutations, which in turn survive more frequently than deleterious mutations. Mutants, regardless of fitness effect, arising close to the front sometimes surf to high frequency and spatial extent (Travis et al., 2007; Burton and Travis, 2008). The survival probability of deleterious mutations occurring on the front of an expanding range can be relatively high, up to nearly 20% (Figure 3a), and is conditional on this surfing behaviour. This leads to surviving deleterious mutants (Figure 3c) on average travelling much further than either neutral (Figure 3f) or beneficial mutants (Figure 3i), which both have very similar maximum x-displacements. So great is the effect of this surfing behaviour that surviving deleterious mutants on average have a greater patch occupancy and total population size than surviving neutral mutants (Table 1, Figure 3). Surviving beneficial mutants always have a higher patch occupancy and total population size than surviving neutral or deleterious mutants (Table 1).

Figure 3
figure 3

Edge effects influence survival probability, mutant population size and maximum x-displacement. The nature of the edge effect is determined by boundary condition and mutant fitness. In each of the plates, grey indicates results obtained for reflective and black for absorbing boundary conditions. Results for (ac) deleterious, (df) neutral and (gi) beneficial mutants. All results were generated for K=10 and R=1.8. For illustrative purposes, the y axis scale varies between graphs.

Table 1 Survival probability, maximum displacement (Maxx), patch occupancy (Mpocc) and mutant population size (Mut size) for deleterious (Del.), neutral (Neu.) and beneficial (Ben.) mutations for three dispersal propensities

The probability of natal dispersal influences both the probability of mutants surviving and the spatial dynamics of those that survive (Table 1). Survival probability always decreases with increasing dispersal and this effect is greatest for deleterious mutants. For example, there is a reduction in survival probability of deleterious mutants from 12.02 to 7.91% when dispersal is increased from 0.1 to 0.3, whereas for beneficial mutants, the equivalent comparison is 63.76 and 59.58% (Table 1). The maximum x-displacement of mutants always increases when dispersal is more frequent, and for all three mutant types, we observe roughly a doubling in distance travelled when dispersal increases from 0.1 to 0.3 (Table 1). Dispersal probability affects both patch occupancy and total population size very similarly, and for the three mutant types, there is always an increase in both as dispersal increases. However, in this case, there is a quantitative difference in the effect of dispersal depending on fitness effect, with a greater increase in both patch occupancy and population size for beneficial compared with neutral and deleterious mutations (Table 1).

Edge effects and boundary conditions

Both the location at which a mutant arises relative to habitat edge and the boundary condition can have a major influence on the likely survival and spatial dynamics of the mutant populations. In the rest of this section, we describe results for only absorbing and reflective boundaries. We have run the same set of simulations for periodic boundaries and in all cases there is, as expected, no relationship between where a mutant arises and its survival and spread. Considering first the survival probability of mutants in relation to the edge, it is clear that when the boundary is absorbing, there is consistently lower survival at the edge (Table 1), whereas for reflective boundaries, the opposite is true. The difference in survival probabilities between the edge and elsewhere on the lattice is always greater for deleterious than for neutral mutants which, in turn, is greater than for beneficial mutants. For example, 5.96% of deleterious mutants survive when they arise on an absorbing edge, compared with a mean across the entire range of 12.02%, whereas corresponding values are 30.12 and 39.04% for neutral and 58.14 and 63.76% for beneficial mutants. When natal dispersal is more frequent, the relative differences between survival probabilities at the edge and the mean across space tend to become greater. This is most noticeable for deleterious mutants; for example, 18.15/11.44=1.59 for d=0.1, 17.24/9.38=1.84 for d=0.2 and 18.69/8.22=2.27 for d=0.3. When we consider those mutants that have survived, we also observe edge effects influencing the maximum distance they travel, the number of patches they occupy and their total population size. For all fitness values, mutants have travelled further when they occur at the edge of a lattice with reflective boundaries, whereas they travel further when they occur away from the edge of a lattice with absorbing boundaries. Although deleterious mutants on average travel further than neutral or beneficial mutants, there is no clear relative difference between distances travelled by each fitness type depending on where they occur (Table 1, Figure 3). Surviving mutants that occur at the edge of an absorbing lattice always reach lower spatial extent and abundance than those occurring away from the edge. In general, this is similar on lattices with reflective boundaries; however, the effect is much reduced with this boundary type (Table 1, Figure 3).

The time between a patch being colonized and the mutant being introduced, ΔT, has a major influence on the results regardless of where the mutant occurs relative to the edge or the boundary condition. In all cases, there is a rapid decrease in survival probability as ΔT increases. By the time ΔT=10, the probability of a mutant surviving is very similar to the probability of a mutant surviving in a stationary population (Table 2). We show here only results for neutral and beneficial mutations, as simulations for deleterious mutations are too time-consuming due to the infrequency with which these mutants survive at higher ΔT.

Table 2 The time between a patch being colonized and the mutant arising (ΔT) influences survival probabilities

The leading edge of the range expansion is greatly affected by the boundary condition employed as well as the time since range expansion commenced (Figure 4). Absorbing boundary conditions result in the leading edge of the range expansion being convex in shape whereas reflective conditions lead to concave range fronts (Figure 4a). As anticipated, periodic boundary conditions do not lead to any change in the shape of the range front across the entire width (Figure 4a). For both absorbing and reflective boundary conditions, the shape of the range becomes more pronounced as the time since range expansion occurred increases, although the change in shape with time is greater for reflective boundary conditions (Figures 4b and c). By 200 time steps after introduction, the shape of the expanding front has reached equilibrium (Figures 4b and c).

Figure 4
figure 4

The shape of the expanding range front is affected by boundary condition and time since population established. (a) The frequency that each y-coordinate was at the front of the expanding range 200 generations after expansion has occurred for all three boundary conditions. (b and c) The frequency that each y-coordinate was at the front of range after different time steps for absorbing and reflective boundaries, respectively. Points show the frequency (out of 10 000 repeat simulations) that each y-coordinate was at the front of the expanding range 100 generations after expansion started. These results were generated for K=10 and R=1.8.

The percentage survival of mutations decreases with time for deleterious and neutral mutations (Figures 5a and b). As time since introduction increases, the percentage survival of deleterious mutations is minimal except in the case of mutations introduced at a reflective boundary (Figure 5a). The percentage survival of neutral mutations is dependent on where the novel mutant is introduced and the boundary condition employed (Figure 5b). The point of origin of the novel mutant and boundary condition leads to less variation in percentage survival for beneficial mutations (Figure 5c). For all three fitness types, mutants that survive for 200 time steps also have a high probability of surviving for up to 300 time steps (Figure 5). This effect is especially pronounced for deleterious mutants that first arise at a habitat edge with reflective boundary conditions.

Figure 5
figure 5

The amount of time since introduction of the novel mutant and boundary condition both affect the survival of mutations. Here, we report the percentage survival of mutations for absorbing (Abs.), reflective (Ref.) and periodic (Per.) boundary conditions after different time steps since introduction of the novel mutant. Here, the data points are offset slightly along the x axis to improve readability. (ac) The survival of introduced deleterious, neutral and beneficial mutations, respectively. In all three graphs, the percentage survival of mutations that are introduced at y=0 (at the boundary) and y=9 (in the centre of the range) are shown for absorbing and reflective boundaries. In a and b, the only results at y=9 for periodic boundary conditions is shown as there was very little difference to those at y=0. The results for both y=0 and y=9 under periodic boundary conditions are shown in c. Again K=10 and R=1.8.

Influence of landscape features

Edge effects on a heterogeneous landscape can result in substantial spatial variability in both the probability that a mutant will survive and the spatial dynamics of those that do survive. Figures 6 and 7 illustrate the results of simulations conducted on landscapes where a block of habitat has been made unsuitable within an otherwise intact region and a narrow corridor of habitat connects two larger areas of suitable habitat, respectively. In both these figures, the greyscale of each cell shows the outcome for mutants that have been introduced to that cell. The location at which a deleterious mutation arises has a marked effect on the genotype's survival probability; there is a clear pattern where the probability of survival is substantially reduced both behind and in front of the region of unsuitable habitat. Although the observed pattern for neutral mutations is less significant, those that are introduced directly behind, and in front of, the area of unsuitable habitat have lower survival probability. There is very little pattern in the spatial variation of survival probabilities for beneficial mutations. The point of introduction of those deleterious and neutral mutations that survive has a significant effect on population size and displacement. When individuals are introduced into the regions on either side of the unsuitable habitat, there is a substantial reduction in the size of any resulting populations and their migration distance. Although no pattern in survival probability is observed for beneficial mutations, there is a considerable decrease in the resulting mutant population size when mutations are introduced on either side of the unsuitable habitat area. There is also a noteworthy reduction in the displacement of individuals when the beneficial mutation is initiated behind the area of unsuitable habitat. An edge effect is observed, for each of the mutation types, which is dependent on the boundary condition employed. For deleterious and neutral mutations, absorbing boundaries lead to a decrease in survival probability at the edge of the lattice. The use of reflective boundaries has the opposite effect although this pattern is reduced for neutral mutations. No obvious effects of boundary condition on the survival probability of beneficial mutations are observed. Absorbing boundaries give rise to a substantial decrease in the population size of surviving mutations at the edge of the lattice for each mutation type. A slight increase in population size is observed when reflective boundary conditions are applied. The displacement of individuals at the edge of the lattice is affected to a lesser extent by boundary condition. Here, a slight decrease and increase in the centroid x-coordinate is observed at the periphery for absorbing and reflective boundaries, respectively (Figure 6).

Figure 6
figure 6

Introducing simple landscape structure leads to considerable spatial variability in survival probability, mutant population size and spatial spread (centroid x-coordinate). The simulations were conducted on lattices of the same dimensions as elsewhere, but only the portion of the lattice where mutations were introduced (100x112 and 0y19) is shown—representing the region around unavailable habitat. The greyscale of each cell shows how likely a mutant, arising at that location, is to survive, increase in abundance and spread. For each location, the model is run until 100 mutants survive for 100 time steps. The red region represents unavailable habitat. Results from simulations with deleterious (Del.), neutral (Neu.) and beneficial (Ben.) mutants for each of absorbing (Abs.) and reflective (Ref.) boundary conditions are shown. The maximum and minimum values are shown in the table for each of the three statistics illustrated in this set of maps. Again K=10 and R=1.8.

Figure 7
figure 7

A habitat corridor introduces strong spatial variation in the fate of mutants. Other than the shape of the habitat feature, all simulation details are the same as in Figure 6.

Simulations conducted using a habitat corridor also lead to significant spatial variation in survival probability and mutation dynamics with the greatest effects observed for deleterious mutations. Deleterious mutations are far more likely to survive when they arise in the vicinity of the corridor, and especially when their origin is located just beyond the corridor. This pattern is less pronounced for neutral mutations and not evident for beneficial mutations (Figure 7). The population size and maximum displacement of surviving mutants is influenced by their origin for all fitness types, with greatest population abundances and displacements always found for those mutants that arise near the corridor. Edge effects due to differences between the boundary conditions are less apparent for this landscape structure. For each map, the maximum and minimum values across all patches on the landscapes are shown in the accompanying tables.

Discussion

The results presented in this article clearly demonstrate the importance of edge effects, boundary conditions and landscape structure in determining the fate of mutations that occur during a period of population range expansion. Our results are consistent with previous studies in demonstrating that mutation surfing can play an important role in determining the survival probability and spatial distribution of mutants occurring at a front (Edmonds et al., 2004; Klopfstein et al., 2006; Travis et al., 2007). These new results serve to highlight that both the survival probability and the characteristics of surviving mutants are highly dependent on landscape structure and the dispersal behaviour of individuals around habitat edges.

Habitat boundaries introduce considerable spatial variation in the survival probabilities of mutations depending on where they occur. With absorbing boundaries, mutations that arise at, or near, an edge are less likely to survive. This is due to two effects. First, individuals at the edge suffer from the risk of dispersing over the edge and dying, and this elevated risk of mortality increases the probability that a mutation becomes extinct almost immediately. Second, with absorbing boundary conditions, the leading edge of the range expansion is most often away from the edge towards the centre of the lattice (Figure 4a), which is due to additional mortality at absorbing edges leading to less rapid population growth. Mutations are most likely to survive when they occur at, or very close to, the leading edge, as it is only then that they and their descendants are most likely to remain at the front and benefit from reduced competition (Klopfstein et al., 2006; Travis et al., 2007; Burton and Travis, 2008). The first of these effects applies equally to mutations regardless of their fitness effect, but the second has a much greater influence on deleterious mutations, as their survival is much more dependent on them surfing the expanding wave front than it is for neutral or beneficial mutations. This pattern is reversed for reflective boundaries and there is a higher survival probability of mutations that occur at the edge. Reflective boundaries do not impose an additional mortality cost, but instead promote dispersal parallel to the edge (Figure 4a). Here individuals that would otherwise disperse off the edge move at random to a patch adjacent to the natal deme. Consider an individual with a dispersal probability of 0.1 in an edge cell right at the expanding front. With absorbing boundary conditions, its probability of colonizing an empty patch along the habitat edge is 0.0250. However, with reflective boundary conditions, this is increased to 0.0375. This increases the rate of range expansion along an edge and makes it more likely that mutations arising there will surf, thus increasing their survival probability. Again, because surfing is most important in determining the survival of deleterious mutations, this leads to a greater effect on their survival probability and population dynamics than it does for neutral and beneficial mutations.

When the characteristics of surviving mutations are considered, edge effects are found to influence the abundance, spatial extent and spread of all three fitness types investigated. Surviving mutations with an origin at, or near, the edge of lattices with absorbing boundaries typically reach lower population size, and do not travel as far. This is for the same reasons that mutations arising at these edges have depressed survival probabilities. The absorbing boundaries impose an additional mortality cost, and mutations occurring there are less likely to be on the extreme edge of the front. Additionally, because mutations arising near an edge can only spread along and away from that edge, they will on average reach lower abundance than those arising in the centre of the lattice that can spread in all directions. Reflective boundary conditions lead to greater x-displacements of those mutations that arise close to an edge. This is true for all fitness types, as reflective edges promote increased dispersal in the direction of range expansion. This effect also leads to surviving deleterious and neutral mutants obtaining higher population abundance when they arise close to the edge. However, the population size of surviving beneficial mutants is affected much less by where they occur in relation to a reflecting edge, and this is because their survival and subsequent dynamics are much less dependent on surfing behaviour. Except for mutations with negative fitness effects, most surviving mutations do not surf (Klopfstein et al., 2006; Travis et al., 2007) and non-surfing beneficial mutants will obtain higher abundances when they arise towards the centre of the lattice and can spread, unconstrained by edges, in all directions. Beneficial mutants will typically spread in all directions from their origin but, in many cases, their rate of expansion through populations of the wild type is slower than the range expansion, and hence they do not surf.

In contrast to most recently published work, we have identified substantial effects of different boundary conditions. Results from previous simulations, investigating spatial population dynamics, typically report little or no overall effect in results obtained with alternative boundary conditions (Molofsky et al., 2002; Leblois et al., 2006). Other works have considered differences in results a little further. Kean and Barlow (2000) found ‘…little effect on metapopulation dynamics, except that absorbing boundaries imposed additional mortality on the metapopulation…’. Etienne et al. (2002) also reported slight differences in their results under varying boundary conditions, demonstrating that reflective and periodic boundaries lead to some results that were quantitatively different but qualitatively similar. Also, changes in population dynamics were observed for simulations using absorbing boundaries. Our findings emphasize that under range expansion conditions, there is an increased importance of considering the effect of boundary conditions, as they can significantly influence population dynamics and therefore the outcome of simulations.

The use of corridors connecting distinct and spatially separated habitat patches has become a much-used strategy in conservation biology (for example, Hudgens and Haddad, 2003). Corridors offer the potential benefit of increasing movement rates of individuals and genes between patches and can thus protect the demographic and genetic integrity of spatially extended populations existing on fragmented landscapes (Brier and Noss, 1998). Corridors can also have potential negative impacts such as increasing the spread of diseases or invasive predators or pests (Hess, 1994). Few theoretical works have addressed the potential influence of corridors on genetic processes. One recent simulation study illustrated how a habitat corridor linking two patches (one permanently suitable and one ephemeral) can have substantial effects on the fixation probabilities of novel alleles (Orrock, 2005). During periods of climate change, habitat corridors will assume another important conservation role: facilitating the spread of species into regions as they become suitable, thus increasing the rate of range shifting (Halpin, 1997; Collingham and Huntley, 2000). Although corridors are likely to increase migration rates of dispersive organisms, questions remain as to their likely effectiveness for sessile or sedentary organisms (Collingham and Huntley, 2000). Orrock's work (2005) shows that corridors can have important genetic effects in the absence of climate change. As yet, we have little understanding of their likely impact on genetics during periods of range shifting. Our results indicate that corridors can introduce substantial spatial variation in the fate of mutations depending on where they arise during a range expansion. In particular, when deleterious mutations occur just in front of, along or (especially) just beyond a habitat corridor, they have a much greater probability of surviving. Those that survive are likely to surf to substantial abundance and spatial extent. As future work considers questions regarding the use of corridors as a conservation strategy geared towards facilitating species migrations, there needs be a consideration not only of demographic, but also genetic processes. Important questions are how a network of habitat patches connected by corridors may impact on the genetic load of a population as it spreads across the network, and how the risk of potentially harmful increases in load can be minimized by careful consideration of network structure—for example, corridor widths.

An increasing number of simulation studies are investigating the dynamics and spatial spread of neutral mutations that occur during a period of range expansion (Ibrahim et al., 1996; Austerlitz and Garnier-Géré, 2003; Edmonds et al., 2004; Bialozyt et al., 2006; Klopfstein et al., 2006) but, to date, far less works have considered the fate of non-neutral mutations. It has recently been demonstrated that the surfing phenomenon observed by Edmonds et al. (2004) and Klopfstein et al. (2006) is likely to lead to the substantially increased survival and spread of deleterious mutants at the front (Travis et al., 2007; Burton and Travis, 2008), and the results presented here corroborate with those results. Whereas previous works have focussed on using a centroid statistic to describe spread, here we have used spatial extent (as measured by the number of patches occupied) and total population size, in addition to looking at the maximum x-displacement obtained by a surviving mutation. These statistics serve to illustrate the dynamics more clearly and highlight that surviving deleterious mutants may, on average, occupy more patches and have higher total abundance than an average surviving neutral mutant (Table 1, Figure 3). As a greater range of methods are developed to describe empirical patterns of quantitative genetic variation (for example, Mauricio, 2001; Erickson et al., 2004), there will be considerable potential to use these, together with data on neutral markers, to improve inferences regarding past range expansions. These empirical data can only give us a picture of mutations that have survived until today, and simulations that can produce expected patterns of surviving neutral and non-neutral genetic diversity will be needed if we are to best use the additional information that new quantitative genetic methods will provide. Looking simultaneously at clines in neutral and non-neutral genetic diversity should markedly improve our capacity to infer the patterns of past range expansions.

To improve both our capacity for inference of past range expansion and our ability to predict the genetic consequences of current range shifts, we need to begin relaxing some of the simplifying assumptions that are very often made in simulation studies of the type presented here. We have assumed strict nearest-neighbour dispersal, yet we already know from other studies (for example, Ibrahim et al., 1996; Bialozyt et al., 2006) that the shape of a dispersal kernel can have a major influence on the patterns of neutral genetic diversity that emerge during range expansions. To date, studies describing the mutation surfing phenomenon have assumed nearest-neighbour dispersal (Edmonds et al., 2004; Klopfstein et al., 2006; Travis et al., 2007; Burton and Travis, 2008) and future work should consider how differently shaped dispersal kernels might influence the probability of mutants surfing, depending both on when they occur relative to the front and on their fitness effect.

Existing studies on mutation surfing have assumed very simple within-patch dynamics and, although it is likely that the surfing dynamics will be qualitatively similar if other functions of local dynamics are used, a study considering the potential for quantitative differences resulting from the choice of within-population dynamics would be valuable. In particular, recent work has shown how over-compensating density dependence can have a major influence on the spatial population dynamics of range expansions (Best et al., 2007) and it would be interesting to establish how it might also impact the surfing behaviour of novel mutants. Similarly, density-dependent dispersal may have a substantial impact on surfing dynamics. Intuitively, we would anticipate that it would reduce the likelihood of deleterious mutants surfing for long periods, but this represents a further area worthy of thorough investigation. We have considered the dynamics of mutations in a spatially structured environment, but we do not consider true metapopulation dynamics, as local extinction events are rare. Mathematical approaches have been developed in the population genetics literature, with the purpose of exploring the dynamics of mutations within metapopulations (for example, Whitlock and Barton, 1997; Pannell and Charlesworth, 2000), and it would be interesting to extend these to explore range expansions.

We have assumed that mutants have different relative juvenile competitive abilities. A consequence of this is that deleterious and beneficial mutations are effectively neutral within a deme up to the point where K is reached, due to the lack of competition. However, fitness could equally influence other life history characteristics, and we suggest that future work considering the dynamics of novel mutations that impact reproductive rate and dispersal propensity would be interesting extensions. This would lead to a greater understanding of the evolution of life history during range expansions, a topic of considerable current interest (for example, Thomas et al., 2001; Simmons and Thomas, 2004; Phillips et al., 2006). Most studies have considered a haploid genetic system and, although this represents a sensible assumption for neutral variability with maternal inheritance such as mitochondrial DNA, it is inappropriate if we are interested in adaptive genetic variability in diploid organisms. If we should be able to answer important conservation-relevant questions regarding the evolutionary potential of range shifting versus stationary populations, we will need to model diploid organisms and begin to incorporate multiple loci and genetic details such as epistasis, pleiotropy and hitchhiking (Orrock, 2005). There is also an opportunity to link emerging ideas in this area of population genetics with well-established methodologies in landscape ecology. This would enable simulations of real species on real landscapes where the ecology of the species, including habitat requirements and preferences, are described in some detail and the characteristics of the landscape are incorporated through the use of Geographic Information Systems (GIS) (for example, Hammershøj et al., 2006). This would facilitate a shift from purely strategic models aimed at providing generic insights to rather more tactical models that might, for example, inform the design of a reserve network with the aim of protecting the genetic integrity of a particular group of species as they shift their ranges in response to climate change.