Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations

preprint OA: gold CC-BY-NC-ND-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

Complex spatial structure, with partially isolated subpopulations, and environment heterogeneity, such as gradients in nutrients, oxygen, and drugs, both shape the evolution of natural populations. We investigate the impact of environment heterogeneity on mutant fixation in spatially structured populations with demes on the nodes of a graph. When migrations between demes are frequent, we find that environment heterogeneity can amplify natural selection and simultaneously accelerate mutant fixation and extinction, thereby fostering the quick fixation of beneficial mutants. We demonstrate this effect in the star graph, and more strongly in the line graph. We show that amplification requires mutants to have a stronger fitness advantage in demes with stronger migration outflow, and that this condition allows amplification in more general graphs. As a baseline, we consider circulation graphs, where migration inflow and outflow are equal in each deme. In this case, environment heterogeneity has no impact to first order, but increases the fixation probability of beneficial mutants to second order. Finally, when migrations between demes are rare, we show that environment heterogeneity can also foster amplification of selection, by allowing demes with sufficient mutant advantage to become refugia for mutants.
Full text 179,436 characters · extracted from preprint-html · click to expand
Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations View ORCID Profile Cecilia Fruet , Arthur Alexandre , Alia Abbara , Claude Loverdo , View ORCID Profile Anne-Florence Bitbol doi: https://doi.org/10.1101/2025.07.31.667961 Cecilia Fruet 1 Institute of Bioengineering, School of Life Sciences, École Polytechnique Fédérale de Lausanne (EPFL) , Lausanne, Switzerland 2 SIB Swiss Institute of Bioinformatics , Lausanne, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Cecilia Fruet Arthur Alexandre 1 Institute of Bioengineering, School of Life Sciences, École Polytechnique Fédérale de Lausanne (EPFL) , Lausanne, Switzerland 2 SIB Swiss Institute of Bioinformatics , Lausanne, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site Alia Abbara 1 Institute of Bioengineering, School of Life Sciences, École Polytechnique Fédérale de Lausanne (EPFL) , Lausanne, Switzerland 2 SIB Swiss Institute of Bioinformatics , Lausanne, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site Claude Loverdo 3 Sorbonne Université, CNRS, Laboratoire Jean Perrin , LJP, Paris, France 4 Sorbonne Université, CNRS, Inserm, Institut de Biologie Paris-Seine, IBPS , Paris, France Find this author on Google Scholar Find this author on PubMed Search for this author on this site Anne-Florence Bitbol 1 Institute of Bioengineering, School of Life Sciences, École Polytechnique Fédérale de Lausanne (EPFL) , Lausanne, Switzerland 2 SIB Swiss Institute of Bioinformatics , Lausanne, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Anne-Florence Bitbol For correspondence: anne-florence.bitbol{at}epfl.ch Abstract Full Text Info/History Metrics Preview PDF Abstract Complex spatial structure, with partially isolated subpopulations, and environment heterogeneity, such as gradients in nutrients, oxygen, and drugs, both shape the evolution of natural populations. We investigate the impact of environment heterogeneity on mutant fixation in spatially structured populations with demes on the nodes of a graph. When migrations between demes are frequent, we find that environment heterogeneity can amplify natural selection and simultaneously accelerate mutant fixation and extinction, thereby fostering the quick fixation of beneficial mutants. We demonstrate this effect in the star graph, and more strongly in the line graph. We show that amplification requires mutants to have a stronger fitness advantage in demes with stronger migration outflow, and that this condition allows amplification in more general graphs. As a baseline, we consider circulation graphs, where migration inflow and outflow are equal in each deme. In this case, environment heterogeneity has no impact to first order, but increases the fixation probability of beneficial mutants to second order. Finally, when migrations between demes are rare, we show that environment heterogeneity can also foster amplification of selection, by allowing demes with sufficient mutant advantage to become refugia for mutants. Introduction Natural microbial populations often possess complex spatial structures, with partially isolated subpopulations, e.g. in soil-associated or host-associated microbiota [ 1 – 5 ]. In addition, the environment in which natural microbial populations live is generally heterogeneous, featuring spatial variability in nutrient availability, temperature, pH, and concentrations of drugs or toxins. For instance, in soils, nutrient levels vary with depth, proximity to plant roots, and localized microbial metabolic activity [ 6 , 7 ]. This variability creates microhabitats that shape microbial community composition and function [ 8 ]. Aquatic environments are heterogeneous too [ 9 ], influenced by factors such as oxygen gradients [ 10 ]. The human body also constitutes a spatially structured and heterogeneous environment for its microbiota [ 11 ]. In particular, the gut features gradients of oxygen, pH, bile salts, and antibiotic drugs when they are taken. This environment heterogeneity gives rise to heterogeneous selection pressures on microorganisms, leading to complex ecological and evolutionary dynamics [ 2 , 12 , 13 ]. To understand how natural microbial populations evolve, it is thus important to investigate the joint impact of spatial structure and of environment heterogeneity on population genetics. The vast majority of theoretical studies investigating the evolution of spatially structured populations assume that the environment is homogeneous. They show interesting impacts of spatial structure on evolution, in particular on the fundamental process of mutant fixation, whereby a mutant type takes over the population. Considering well-mixed subpopulations, known as demes or patches, connected by migrations [ 14 , 15 ], it was shown that the probability that a mutant fixes (i.e. takes over) in the population is not impacted by spatial structure, if migrations are sufficiently symmetric [ 16 , 17 ], and demes do not get extinct [ 18 ]. Models on graphs where each node comprises one individual have allowed to consider more complex spatial structures [ 19 ]. In this framework, known as evolutionary graph theory, it was shown that specific graphs, under specific update rules defining the dynamics, can amplify or suppress natural selection [ 19 – 23 ]. Amplifiers of selection increase the fixation probability of a beneficial mutant compared to a well-mixed population with the same size, and decrease the one of deleterious mutants. Meanwhile, suppressors of selection decrease the fixation probability of beneficial mutants and increase that of deleterious ones. Amplifiers of natural selection have been the subject of sustained attention [ 19 – 25 ], given their potential to enhance adaptation, which might be useful e.g. in directed evolution. However, they generally slow down mutant fixation [ 26 – 29 ], which limits their impact. Evolutionary graph theory models have been generalized by placing well-mixed demes with fixed size on graph nodes, also using specific update rules [ 30 – 34 ]. Recently, more general models, which do not assume strictly fixed deme sizes or update rules, were proposed by some of us [ 35 , 36 ]. Under rare migrations, these models generalize the findings of evolutionary graph theory, and show that whether a graph amplifies or suppresses natural selection strongly depends on the asymmetry of migration between demes [ 35 ]. Moreover, under frequent asymmetric migrations, suppression of selection was found to be pervasive, and associated to an acceleration of mutant fixation or extinction [ 36 ]. How does environment heterogeneity across demes impact mutant fixation in spatially structured populations? In population genetics, environment heterogeneity has been studied in continuous spatially extended populations, but in the context of species range limits and local adaptation rather than mutant fixation in the whole population [ 37 – 43 ]. Importantly, these studies typically consider antagonistic effects of selection across space, while here, our main focus is on mutants that are beneficial throughout the structure, with the strength of their beneficial effect varying across demes. In evolutionary graph theory models with one individual per node, graphs with nodes falling into two environment types have been considered [ 44 – 49 ], mainly focusing on the optimal repartition of these two types of nodes to foster mutant fixation [ 46 , 47 , 49 ] and on their impact on evolutionary timescales [ 44 , 48 ]. Here, we consider a more general model with demes on nodes of the graph, where mutant fitness advantage can be different in each deme. We investigate how environment heterogeneity affects mutant fixation in deme-structured populations on graphs, comparing heterogeneous and homogeneous environments. We generalize the spatially structured population model introduced in Ref. [ 36 ] to heterogeneous environments, modeled via a deme-dependent mutant fitness advantage. We first focus on the frequent migration regime. In circulation graphs, where migration inflow and outflow are equal in each deme, we find that environment heterogeneity has no impact to first order, but increases mutant fixation probability to second order. This simplest category of graphs serves as a baseline for the rest of our study. In the star and in the line, we show that environment heterogeneity substantially impacts mutant fixation probability, and that it can lead to amplification of selection, together with acceleration of mutant fixation and extinction. This stands in contrast with the usual tradeoff between amplification and slower dynamics. We determine analytically the conditions for amplification of selection in the star and in the line, using a branching process approach. We show that a key ingredient for amplification is that mutants should be strongly favored in demes with strong migration outflow. We generalize these findings to fully connected graphs with one special deme that differs from others both by mutant advantage and by migration outflow. Furthermore, we show that amplification can exist in all connected graphs with five nodes that are not circulations, with strong migration outflow from demes where mutants are advantaged. Finally, we turn to the rare migration regime, and show that environment heterogeneity can turn suppressors of selection into amplifiers in this regime too, but for a different reason: demes with sufficient mutant advantage become refugia for mutants. Results Including environment heterogeneity in deme-structured populations on graphs The impact of spatial structure on mutant fixation has traditionally been studied assuming homogeneous environments, where the fitness difference between mutants and wild-types is the same in the whole structured population [14–19, 30–36, 50–58]. Here, we use our model of deme-structured population on graphs [ 36 ] and generalize it to include heterogeneous environments: each deme, located on a node of the graph, may have a different environment that can modulate the mutant fitness advantage. We denote the baseline mutant fitness advantage by s , and the local modulation in deme i by the prefactor δ i , so that the mutant fitness advantage in that deme is sδ i . In our serial dilution model, illustrated in Figure 1 , each deme starts at bottleneck size K , grows exponentially for a fixed time t , and then undergoes a dilution and migration step, returning to the original bottleneck size K [ 36 ]. These steps are then iterated. This description generalizes over structured Wright-Fisher models [ 59 , 60 ] and allows explicit modeling of experiments with serial transfers [ 61 , 62 ]. The fitness advantage of mutants matters during the growth phase, and results in an increase of the fraction of mutants in demes where mutants were present initially. This variation of mutant fraction only depends on st , which we thus refer to as the baseline effective fitness advantage (see Methods). After a growth phase, migrations take place with probability m ij from deme i to deme j during each migration-dilution step, modeled using binomial samplings (see Methods). Download figure Open in new tab Figure 1: Serial dilution model for spatially structured populations with environmental heterogeneities. Schematic of an elementary step of the serial dilution model. Starting from a bottleneck, each deme undergoes a deterministic local growth step followed by a dilution and migration step, leading to a new bottleneck. Blue markers represent wild-type individuals and orange markers represent mutants. Gray backgrounds with different darkness represent different environments. Throughout, we focus on the fixation of a single mutant appearing uniformly at random in the structure, reflecting biologically realistic scenarios such as DNA replication errors, or mutations due to external stress affecting all cells. We mainly address the frequent migration regime [ 36 ], which is the most relevant experimentally [ 62 – 66 ]. In the final section, we turn to the rare migration regime, where mutant fixation or extinction in a deme occurs much faster than migration [ 35 , 51 ]. Before investigating the role of environment heterogeneity, we briefly recall how spatial structure impacts mutant fixation in deme-structured populations on graphs with homogeneous environments. We showed in Ref. [ 36 ] that circulation graphs, where each node has the same total incoming and outgoing migration flow, do not impact fixation probability. This extends Maruyama’s theorem [ 16 , 17 ] and the circulation theorem of evolutionary graph theory models with one individual per node of a graph [ 19 ]. Furthermore, we showed that all other graphs suppress natural selection, and we found that this is associated to an acceleration of mutant fixation or extinction [ 36 ]. These results were obtained under frequent migrations using the branching process approximation. Environment heterogeneity in circulation graphs: a baseline We first consider circulation graphs, which do not impact fixation probability under homogeneous environments. For frequent migrations, using a branching process approximation under the assumptions that s > 0, K ≫ 1 and 1 /K ≪ st ≪ 1, the fixation probability of a mutant appearing uniformly at random can be expressed as to second order in the baseline effective fitness advantage st (see SI Section 1.2 ). This expansion holds for any connected graph, but the coefficients a and b depend, a priori , on the graph and on the environment heterogeneity. For circulation graphs, we find that a = 2 ⟨ δ ⟩ (see SI Section 2.1.1 ). Hence, to first order in st , the fixation probability ρ = 2 ⟨ δ ⟩ st only depends on the mean effective fitness advantage ⟨ δ ⟩ st of the mutant across the structure, and is not affected by environment heterogeneity. We also find that the fixation probability does not depend on where the mutant starts. Furthermore, it coincides with the fixation probability in a well-mixed population with the same mean effective fitness advantage, matching Haldane’s classical result [ 67 ]. Thus, to first order in st , the circulation theorem extends to heterogeneous environments: in circulation graphs, neither spatial structure nor environment heterogeneity impact mutant fixation probability. By contrast, the second-order coefficient − b in the expansion of the fixation probability in Eq. 1 depends on environment heterogeneity even in circulation graphs (see SI Section 2.1.3). For the clique (fully connected graph), corresponding to Wright’s island model [ 14 ], our second-order calculation shows that environment heterogeneity slightly increases the fixation probability of beneficial mutants. For a specific cycle, corresponding to the circular stepping-stone model [ 15 , 16 , 68 ], we obtain similar, though more complex, results (see SI Section 2.1.3). These findings demonstrate that, beyond first order, environment heterogeneity has non-trivial theoretical effects even in circulation graphs, leading to a breakdown of the circulation theorem to second order. However, this effect remains quantitatively small, as it scales as ( st ) 2 . This motivates turning to non-circulation graphs to investigate whether environment heterogeneity has stronger effects there. Importantly, circulation graphs, and in particular the clique, will serve as a baseline independent of environment heterogeneity to first order in st . Environment heterogeneity strongly impacts mutant fixation probability in a star We next consider the star graph, which comprises a central node connected to D − 1 leaf nodes by migrations (see Figure 2A ). The star has been the focus of many studies on the impact of spatial structure on mutant fixation under homogeneous environments. In evolutionary graph theory models with one individual per node, the star either amplifies or suppresses natural selection depending on update rules [ 19 – 22 ]. With demes on each node, in the rare migration regime, whether it amplifies or suppresses natural selection depends on migration asymmetry [ 35 ]. By contrast, for more frequent migrations, it can only suppress selection [ 36 ]. Download figure Open in new tab Figure 2: Impact of environmental heterogeneity on mutant fixation in the star. Panel A: Schematic of the heterogeneous star, with migration asymmetry α = m I /m O , and deme-dependent mutant advantage prefactor δ shown in the histogram below. The relative mutant fitness excess in the center is defined as σ C = ( δ C − ⟨ δ ⟩) / ⟨ δ ⟩. Panel B: Mutant fixation probability versus the baseline mutant fitness advantage st , for different relative mutant fitness excess σ C in the center, with migration asymmetry α = 0.2. Markers: stochastic simulation results; lines: analytical predictions ( Eq. S52 ). Panel C: Heatmap of the first-order coefficient in the expansion of the mutant fixation probability in the baseline effective mutant fitness advantage st (denoted by a in Eq. 1 ), versus the migration asymmetry α and the relative mutant fitness excess σ C in the center of the star. Red dashed lines: numericallydetermined boundaries of the region where the star amplifies selection; solid black line: analytical prediction for this boundary, given by f star ( α, D ) in Eq. S69 . Horizontal dotted line: homogeneous environment case ( σ C = 0). Markers: parameter values considered in panel B. Parameter values: in panels B and C, D = 5; K = 1000; ⟨ δ ⟩ = 0.5. In Panel B: m O = 0.6; α = 0.2; each marker comes from 5 × 10 5 stochastic simulation realizations. How does environment heterogeneity impact mutant fixation in the star with a deme on each node? To address this question, we compare a star with heterogeneous environments (see Figure 2A ) to a star with homogeneous environment, where the mean mutant fitness advantage is the same, i.e. where the mutant fitness advantage is ⟨ δ ⟩ s in each deme. In the branching process approach, we show that, to first order in st , the mutant fixation probability in the heterogeneous star only depends on selection through the mean mutant fitness effect, via ⟨ δ ⟩, and through the relative fitness excess in the center, defined as σ C = ( δ C − ⟨ δ ⟩) / ⟨ δ ⟩ (see SI Section 2 , Eq. S52 ). Fixation probability is also impacted by migration asymmetry α = m I /m O , where m I is the probability of incoming migrations to the center from a leaf, while m O is the probability of outgoing migrations from the center to a leaf. When there is more migration outflow from the center than inflow to the center ( α 0). Conversely, if there is more inflow to the center than outflow ( α > 1), heterogeneity increases mutant fixation probability if the center features a smaller mutant fitness advantage than the leaves ( σ C < 0), see SI Section 3.1.2 . This suggests that having a stronger mutant advantage in locations with more migration outflow enhances mutant fixation. Finally, if α = 1, to first order in st , environment has no impact on fixation probability. This is consistent with our results above, as in this specific case the star is a circulation graph. Figure 2B shows the impact of environment heterogeneity, via σ C , on the mutant fixation probability in the star. We observe that the farther σ C is from 0, the more the fixation probability deviates from the baseline of the homogeneous star. We observe that environment heterogeneity yields an increase of the fixation probability when σ C > 0, and a decrease of it when σ C < 0. As α < 1 in this figure, this is fully consistent with our analytical predictions. In fact, for each value of σ C considered, Figure 2B shows excellent agreement between our stochastic simulations and our analytical predictions. Figure 2C further illustrates how migration asymmetry α and environmental heterogeneity, via σ C , impact the first-order coefficient a in Eq. 1 in the expansion in st of the mutant fixation probability in the star. This heatmap highlights the strong impact of both migration asymmetry and environmental heterogeneity on fixation probability in the star. Notably, environmental heterogeneity can enhance fixation probability in a star beyond that of an equivalent well-mixed population or circulation with the same average mutant fitness advantage ⟨ δ ⟩ s . This reference fixation probability is 2 ⟨ δ ⟩ st to first order, as shown above. Hence, a heterogeneous star can amplify natural selection. This effect is further illustrated in Figure S5 . We find an analytical condition on σ C for amplification to occur, see SI Section 3.1.3 . Figure 2C shows that it matches the numerical finding for the boundary of the area where the fixation probability in the heterogeneous star exceeds that of an equivalent well-mixed population. This result is particularly striking because the star with frequent asymmetric migrations is known to suppress natural selection in a homogeneous environment [ 36 ]. Even with rare migrations, no amplification is possible in the homogeneous star with α < 1 [ 35 ], while here, amplification exists for α < 1, for sufficiently large σ C . Therefore, our results demonstrate that the impact of environmental heterogeneity is strong enough to counteract this suppression, and lead to amplification of selection. The heterogeneous line can substantially amplify selection and accelerate mutant fixation Another important spatial structure is the line of demes, or linear stepping-stone model [ 15 , 16 , 68 ], see schematics in Figure 3A . How does the line impact mutant fixation probability? In SI Section 2 , we derive the fixation probability of a mutant in a line of demes with frequent migrations in the branching process regime, both in the homogeneous and in the heterogeneous case, see Eq. S62 . Note that the line was not addressed earlier in this regime, e.g. not in Ref. [ 36 ]. In the homogeneous case, as the star and all other graphs [ 36 ], the line suppresses natural selection as soon as it has some migration asymmetry, i.e. α ≠ 1, where α = m R /m L is the ratio of migration probabilities to the right and to the left. This is explicitly shown in SI Section 3.2.1 and illustrated in Figure S6 . Note that for α = 1, the line is a circulation. Download figure Open in new tab Figure 3: Amplification of selection and accelerated dynamics in the heterogeneous line. Panel A: Schematics of the structures considered: heterogeneous line with step environmental profile and α = 1.5; homogeneous line with same α and ⟨ δ ⟩ ; homogeneous clique with same ⟨ δ ⟩ . Panel B: Condition for amplification of natural selection in the heterogeneous line shown in the top schematic. The functions S and g , defined respectively in Eqs. 2 and 3 , are plotted versus migration asymmetry α . Pink-shaded region: range of α where S ( α ) > g ( α ), i.e. where the heterogeneous line amplifies natural selection. Dotted line: migration asymmetry ( α = 1.5) chosen in panels C-E. Panel C: Mutant fixation probability versus baseline mutant fitness advantage st , in the different spatial structures shown in panel A. Predictions from the branching process theory (“Th.”), specifically Eq. S62 , and results from stochastic simulations (“Sim.”), are shown. Panel D: Mutant fixation time, in number of bottlenecks, in the different structures considered, versus baseline mutant fitness advantage st . Panel E: Same as in D, but for mutant extinction time. Theoretical predictions are from Eq. S13 . Parameter values for all structures: D = 5, K = 1000; for all lines: α = 1.5, m L = 0.3; for the clique: m = 0.15; for the line with step profile: δ = 1 in the leftmost deme, δ = 0 in other ones. Each marker comes from 5 × 10 5 stochastic simulation realizations. How does environment heterogeneity impact mutant fixation in the line? To address this question, we compare a line with an environment that can differ in each node i , through the mutant fitness advantage δ i s , to a homogeneous line with the same mean mutant fitness advantage ⟨ δ ⟩ s (see Figure 3A ). Let us denote by σ i = ( δ i − ⟨ δ ⟩ ) / ⟨ δ ⟩ the relative mutant fitness excess in deme i . The fixation probability in the line with heterogeneous fitness is higher than in the homogeneous line if and only if: see SI Section 3.2.2 . This entails that, in a heterogeneous line with monotonically decreasing mutant fitness advantage from left to right, the mutant fixation probability is higher than in the homogeneous line for α > 1, see SI Section 3.2.2 . The opposite holds for α < 1, and there is no impact of heterogeneity for α = 1 (when the line becomes a circulation), to first order in the baseline effective mutant fitness advantage st . Therefore, in the line, mutant spread and fixation are facilitated when the demes conferring the highest selective advantage to mutants are upstream of the overall migration flow. We have shown that environment heterogeneity can increase fixation probability in the line. Can this result in amplification of selection? To address this question, we consider the first-order expansion in st of the fixation probability, and we compare the line to a well-mixed population with the same average mutant fitness advantage, i.e. the same ⟨ δ ⟩, or equivalently, to a clique with the same ⟨ δ ⟩ (see Figure 3A ). Comparing the fixation probabilities to first order, we show that a heterogeneous line has a higher fixation probability than a clique if and only if: see SI Section 3.2.3 . Figure 3B shows S and g as a function of α for the heterogeneous line shown in Figure 3A , which has D = 5 demes and features a step profile of mutant fitness advantages, with δ i = 1 for i = 1 and δ i = 0 for i > 1. For such a decreasing profile of δ i , amplification of selection cannot exist for α 1 ( Eq. 3 is satisfied). Furthermore, for this particular environmental profile, S ( α ) > g ( α ) in asymptotic behavior for large α , see SI Section 3.2.3 . Note that for other environmental profiles, we observed that g and S cross for an α ∗ > 1, and that amplification exists in a finite region from α = 1 to α = α ∗ . Figure 3C shows the mutant fixation probability in the above-described heterogeneous line with step environmental profile for α = 1.5, and evidences a strong amplification of selection compared to a homogeneous clique with the same average fitness. This stands in contrast to the homogeneous line with the same α and ⟨ δ ⟩, which suppresses selection, see Figure 3C , and with a heterogeneous line with an opposite environmental profile but the same α , which further suppresses selection, see Figure S7 . Moreover, Figure 3D-E shows that the average mutant fixation and extinction times are both faster in our heterogeneous line than in the homogeneous clique with the same ⟨ δ ⟩ . Hence, the heterogeneous line is able to both amplify selection and accelerate fixation at the same time. Importantly, this differs from the usual behavior of amplifiers in evolutionary graph theory, which slow down fixation [ 26 – 28 ]. This joint amplification and acceleration is observed for diverse environmental profiles, as illustrated in Figure S8 . The results in Figure S8 suggest that larger environmental contrast between demes leads to more amplification of selection and to more acceleration of mutant fixation and extinction. Note that the same effect of joint amplification and acceleration, albeit less strong, exists for the heterogeneous star, see SI Section 3.1.3 and Figure S5 . Locally increasing mutant fitness advantage and migration outflow yield amplification of selection and acceleration of fixation In the star and the line, we showed that environment heterogeneity can amplify natural selection and accelerate fixation when mutants have a stronger fitness advantage upstream of the overall migration flow. Do these findings hold beyond the star and the line, when migration asymmetries arise solely from differences in migration probabilities, rather than from the graph connection pattern? To address this question, we consider a graph where all nodes are connected by migrations, but where one special deme (called deme number 1) differs from all others both by migration outflow and by environment. The prefactor of mutant fitness advantage is δ 1 in the special deme and δ 2 in other demes. We first address the highly symmetric case in which all outgoing migration probabilities from the special deme are equal to m 1 , while all other migration probabilities are equal to m 2 , and denotes migration asymmetry ( Figure 4A-D ). When , meaning that the special deme has a stronger migration outflow than others, the spatial structure considered amplifies natural selection if and only if: Download figure Open in new tab Figure 4: Amplification of selection and accelerated dynamics in structures with a special deme in terms of mutant advantage and migration outflow. Panel A: Mutant fixation probability versus baseline mutant fitness advantage st for fully-connected population structures with one special deme, characterized by stronger migration outflow and greater mutant advantage than others ( β = δ 1 /δ 2 > 1), see schematics in D. Results for a homogeneous clique with the same ⟨ δ ⟩ are shown for reference. Panel B: Time to mutant fixation, in bottlenecks, versus baseline mutant fitness advantage st , for the same structures as in A. Panel C: Same as in B, but for extinction time. “Th.” indicates branching process theory ( Eq. S90 for A, Eq. S13 for C), “Sim.” stochastic simulations (A-C). Panel D: The structures considered in this figure: a fully-connected structure with a special deme and a homogeneous clique. Panel E: The excess fixation probability in a structure with one special deme, compared to a homogeneous clique with the same ⟨ δ ⟩, is shown versus the migration asymmetry and the environment asymmetry β , in the case where migration probabilities are drawn from Dirichlet distributions (no strong symmetry in migration probabilities, generalizing over the structure considered in A-D, see SI Section 4.2 ). The plotted values represent the difference between the first-order coefficient in st of the fixation probability (denoted by a in Eq. 1 , computed numerically following SI Section 1.3 , and averaged over many sets of migration probabilities), and the value for the homogeneous clique with the same ⟨ δ ⟩, which is 2 ⟨ δ ⟩ . Solid and dashed black lines mark theoretical boundaries for amplification in the strongly symmetric structure considered in A-D (see Eq. 4 and main text): the solid line corresponds to and the dashed line to . Markers show the values considered in A-C. Parameter values throughout: D = 5, ⟨ δ ⟩ = 0.25; for A-C: K = 1000, and m 1 = 0.33 for the special-deme structure, m = 0.15 for the homogeneous clique. Each value in the heatmap of E is obtained by averaging over 5 × 10 3 structures, whose migration probabilities are drawn independently each time from Dirichlet distributions. see SI Section 4.1 . Hence, when the special deme sends out more individuals than others, selection is amplified if the mutant advantage in that deme is sufficiently stronger than elsewhere. More precisely, this environment contrast needs to be larger than the migration contrast. In the opposite case where , amplification occurs for , see SI Section 4.1 . Hence, for amplification to exist in this structure, mutant advantage needs to be stronger upstream of the overall migration flow, and moreover, the environment needs to be more contrasted than the migration flows. Figure 4A shows that our prediction in Eq. 4 is satisfied: with , amplification is obtained for , results coincide with those in the clique for , and suppression occurs for . Moreover, Figure 4B-C shows that amplification of selection is accompanied by acceleration of fixation and extinction. This is consistent with our findings for the star and the line, and suggests that locally increasing mutant fitness advantage and migration outflow constitutes a general mechanism for amplification of selection and acceleration. Do these findings depend on the strong symmetry in migration probabilities assumed above? To address this question, we consider a structure with a special deme, as before, but where for each deme, the migration probabilities incoming to that deme from all other ones are drawn from the same Dirichlet distribution. The parameters of this distribution are chosen such that the special (first) deme has a stronger expected migration outflow than others, see SI Section 4.2 , but with a substantial dispersion of migration probabilities, see Figure S9 . Figure 4E shows that, in this more general structure, substantial amplification of selection exists in the parameter region where , consistent with the conditions derived for the highly-symmetric case above. This indicates that the mechanism yielding amplification is robust to heterogeneity in migration intensities within a fully connected graph. Amplification of selection extends to deleterious mutants and large graphs So far, we focused on beneficial mutants ( s > 0), allowing analytical insight using the branching process formalism. By definition, amplification of selection means that beneficial mutants have a higher fixation probability than in a well-mixed population or clique, while deleterious ones have a lower one [ 19 ]. To test whether amplification extends to deleterious mutants in our graph-structured populations with heterogeneous environments, we perform simulations in the star, the line and the highly-symmetric structure with one special deme, under conditions where overall migration flows from demes with the strongest mutant fitness advantage to those with weaker advantage, and where we previously observed amplification for s > 0. We find that in all cases, amplification extends to deleterious mutants: their fixation probabilities are smaller than in a homogeneous clique with the same average environment ⟨ δ ⟩, see Figure S10 . Having confirmed that amplification extends to deleterious mutants, we next ask whether it persists in larger graphs. So far, we mainly considered relatively small graphs with five nodes. We now vary the number D of demes while keeping ⟨ δ ⟩ constant, in the same three highly-symmetric structures, using analytical expressions for the first-order coefficient in st of the mutant fixation probability derived from the branching process approach (denoted by a in Eq. 1 ). In the star where all leaves have the same environment, and in the structure with one special deme, we hold the environment contrast between demes constant in addition to ⟨ δ ⟩ . Under these conditions, we find that amplification can persist for all D , although its intensity decreases when D increases, see Figure S11 . We further derive a condition on migration asymmetry and on contrast for amplification in the large- D limit in these structures, see SI Sections 6.1 and 6.2 . In contrast, in the line where all demes have the same environment, except the most upstream deme, amplification vanishes and suppression occurs beyond moderate D when ⟨ δ ⟩ and contrast are held constant, see Figure S12A . However, alternative conventions that hold ⟨ δ ⟩ but not contrast constant can produce amplification that increases with D in the line ( Figure S12B ; see SI Section 6.3 for analytical conditions). These results demonstrate that amplification of selection can exist in large graphs with heterogeneous environments, when overall migration flows from demes with the strongest mutant fitness advantage to those with weaker advantage. They also indicate that specific conditions on migration and environment are required to maintain significant amplification in large graphs. Amplification exists across graph structures with strong migration outflow from demes where mutants are advantaged Does the amplification mechanism we identified persist in generic graph structures, beyond strongly symmetric or structurally simple graphs? To address this question, we now consider all connected graphs with five demes [ 21 , 69 , 70 ], shown in Figure 5 . In all of them, we set migration probabilities and environment heterogeneity according to a convention that ensures that the overall migration flow is directed from the demes where mutants have the strongest fitness advantage to those where this advantage is smaller (see SI Section 7 ). Figure 5 reports the value of the first-order coefficient in the expansion of the fixation probability in st in each structure (denoted by a in Eq. 1 ), sorted from the highest to the lowest first-order coefficient. Amplification of selection exists in all graphs considered, except the cycle and the clique, which are both circulations. We further observe that amplification of selection is stronger when the deme where mutants are most advantaged has a small degree, while other nodes are strongly connected together. These results show that the amplification mechanism identified above extends from specific analytically tractable structures to diverse structures, indicating that amplification of selection can generically exist when overall migration flows from demes with the strongest mutant fitness advantage to those with weaker advantage. Nevertheless, other conventions often lead to suppression of selection (see SI Section 7 and Figure S14 ), suggesting that suppression remains the most generic effect of spatial structure under frequent migrations in the branching process regime, as for homogeneous environments [ 36 ]. Specific situations, such as the overall migration flow going in the same direction as the environment gradient, are required to reverse this trend. Download figure Open in new tab Figure 5: Amplification of selection across five-node graphs with strong migration outflow from demes where mutants are advantaged. Each panel shows a connected five-node graph, ordered by decreasing first-order coefficient in the expansion of the fixation probability in st (denoted by a in Eq. 1 ). These coefficients are indicated in the top left corner of each panel, and shown through the panel frame’s color. They were calculated numerically as described in SI Section 1.3 . Migration probabilities and environment heterogeneity follow convention 1 defined in SI Section 7 , ensuring that overall migration flows from demes whith the strongest mutant fitness advantage to those with weaker advantage. For all graphs, ⟨ δ ⟩ = 0.5. Hence, circulations have a first-order coefficient 2 ⟨ δ ⟩ = 1, and coefficients larger than one indicate amplification of selection. Heterogeneous environments can induce amplification of selection in the rare migration regime So far, we considered frequent migrations, and focused on the branching process regime, assuming that K ≫ 1 and 1 /K ≪ st ≪ 1. In this regime, we showed that environment heterogeneity can turn suppressors of selection into amplifiers. Can this also occur in the rare-migration regime, where the timescale of migrations is much slower than mutant fixation or extinction within a deme? To address this question, let us return to the star graph and to the line graph. Their mutant fixation probabilities were determined analytically for homogeneous environments in the rare migration regime, respectively in Refs. [ 35 ] and [ 71 ]. A key point under rare migrations is that a mutant that fixes always first takes over its deme of origin, before spreading to other demes, allowing a coarse-grained Markov chain description [ 35 , 51 ]. Here, we generalize these calculations to heterogeneous environments. For the star, we consider the case where the center has a different environment from the leaves, associated to the mutant advantage prefactor δ C , but the leaves all have the same environment, associated to δ L , see SI Section 8.1 . For the line, we perform a general calculation where all demes can have different environments, with a mutant advantage prefactor δ i in deme i , see SI Section 8.2 . Figure 6 shows that the heterogeneous star in the rare migration regime can amplify natural selection, compared to a homogeneous circulation with the same mean mutant fitness, in a broad range of migration asymmetries α = m I /m O . Strikingly, this includes cases where α < 1, for which the star suppresses natural selection under rare migrations [ 35 ]. Hence, environment heterogeneity can turn suppressors of selection into amplifiers in the rare migration regime too. In Figure 6 , we observe amplification of selection for weakly deleterious and weakly beneficial mutants (recall that for deleterious mutants, amplification corresponds to having a smaller fixation probability than in the well-mixed or circulation case). The results of Figure 6 are obtained with δ C substantially larger than δ L , i.e. when beneficial (resp. deleterious) mutants are substantially more advantaged (resp. disadvantaged) in the center than in leaves. In this case, consider st such that 1 /K ≪ 2 δ C st ≪ 1 but 2 δ L st ≲ 1 /K . Then, if a mutant starting in the center fixes there, it should ultimately take over the whole population. Indeed, wild-type individuals migrating to the center from other leaves cannot take over again in the center, due to their substantial fitness disadvantage (their fixation probability is exponentially suppressed). This existence of a special “safe” deme for mutants sets the star apart from the homogeneous circulation with the same ⟨ δ ⟩, and causes amplification in this regime (see SI Section 8.1 for further details, including an explanation of the suppression of selection observed for larger st ). Recall that in the homogeneous star with α > 1, amplification of selection is observed under rare migrations [ 35 ], but only when st ≲ 1 /K [ 36 ]. In fact, in the rare migration regime, amplification effects are associated to the finite size of demes and only exist in that regime. Our new findings are consistent with this, and shed light on how environment heterogeneity can induce amplification in the rare migration regime. Download figure Open in new tab Figure 6: Amplification in the heterogeneous star with rare migrations. We show the mutant fixation probability, starting from one single mutant placed uniformly at random at a bottleneck ( Eq. S118 using Eq. S113 ), in a heterogeneous star with various migration asymmetries α , and in a homogeneous circulation with the same mean mutant fitness advantage, i.e. with the same ⟨ δ ⟩. All fixation probabilities are plotted versus the baseline mutant fitness advantage st . Panels A and B show different ranges of st . Parameter values: D = 5, K = 100. For the heterogeneous star, δ C = 1 and δ L = 0.1. In the case of the line, which is a suppressor of selection in the homogeneous case [ 71 ], we also find that environment heterogeneity can yield amplification of selection. This is shown in Figure S19 , where we assume that only the leftmost deme has δ L while the other ones have δ R substantially smaller. A small amplification occurs in the regime where 1 /K ≪ 2 δ L st ≪ 1 but 2 δ R st ≲ 1 /K , see SI Section 8.2 . As in the star, the mutant benefits from the existence of a “safe” (leftmost) deme, where it cannot be re-invaded by wild-types. However, its location is less ideal than in the star, leading to a smaller effect. This illustrates the generality of the amplification mechanism by environment heterogeneity in the rare migration regime: it relies on refugia where mutants are safe from re-invasion, and is specific to finite-sized demes and to a range of small fitness differences between mutant and wild-type individuals. Discussion In this work, we investigated how environment heterogeneity impacts mutant fixation in spatially structured populations with demes on nodes of a graph. We first focused on the frequent migration regime. We proved that the circulation theorem remains valid to first order in heterogeneous environments. However, to second order, environment heterogeneity increases the fixation probability of beneficial mutants in circulations. In non-circulation graphs, we demonstrated that environment heterogeneity can lead to amplification of selection, together with acceleration of mutant fixation and extinction. This result is striking for two reasons: first, without environment heterogeneity, no amplification is possible under frequent migrations [ 36 ]. Second, amplifiers of selection generally slow down fixation [26–29, 69]. We found that this simultaneous amplification of selection and acceleration occurs in the star graph, and even more strongly in the line graph. We identified a key condition for amplification: mutants must be more favored in demes with stronger migration outflow. Qualitatively, individuals in a deme with strong outflow contribute more to next generations. Thus, a fitness increase in this deme helps mutants more than in other demes, contributing to amplification of selection. Under this condition, amplification can occur for deleterious as well as beneficial mutants and persists in large graphs. It also exists in more general graphs, including fully connected graphs with one special deme and all connected graphs with five nodes that are not circulations. Nevertheless, the most generic effect of spatial structure on mutant fixation remains suppression of selection, as in homogeneous environments [ 36 ], since specific conditions on migration and environment are required to obtain amplification. Finally, in the rare migration regime, where mutant fixation or extinction in a deme is faster than migrations, environment heterogeneity can turn suppressors of selection into amplifiers. While environment heterogeneity can foster amplification of selection under both frequent and rare migrations, the mechanisms differ between these two cases, as does the regime of mutant fitness advantage where amplification is observed. For frequent migrations, our branching process analysis focuses on the early and highly stochastic dynamics of a mutant lineage, long before it reaches a size comparable to that of a deme. In this regime, regions with both stronger mutant fitness advantage and larger migration outflow allow mutants to more successfully avoid extinction. Meanwhile, for rare migrations, fixation must occur within a deme before mutants can spread further. If mutant fitness advantage is much larger than 1 /K in a deme, this deme essentially cannot be re-invaded by wildtype individuals if the mutant type fixes there, since wild-type fixation is extremely unlikely. Such demes with sufficient mutant advantage become refugia for mutants, compared to other demes where mutant fitness advantage is smaller and wild-types can take over again, thereby enabling amplification of selection. This effect is associated to the possibility that wild-types take over again in a deme, and thus requires small fitness advantages and finite deme sizes. This stands in contrast with the frequent-migration amplification effect. Our results were obtained by extending to heterogeneous environments a general model of spatially structured populations on graphs, which does not rely on update rules [ 36 ], and is close to experimental protocols of serial transfer [ 62 – 66 , 72 , 73 ]. Compared to previous studies of heterogeneous environments in evolutionary graph theory [ 44 – 49 ], which generally focus on two environments and their repartition across nodes, we addressed generic heterogeneity across demes. We obtained results both in the frequent migration branching process regime and in the rare migration regime. While the latter can in some cases be mapped to evolutionary graph theory models with one individual per node [ 35 ], the frequent migration regime is fundamentally different, as states where several demes comprise both mutants and wild-type individuals become central to the mutant’s fate. In population genetics, environment heterogeneity in spatially extended populations has also been studied in the context of species range limits. In these works, when a mutation is beneficial in one region but deleterious in another, gene flow from the region where the mutation is deleterious can hinder local adaptation in the one where it is beneficial, an effect known as swamping [ 37 – 43 ]. These studies typically consider continuous spatial structures and antagonistic effects of selection across space [ 38 , 40 , 41 ] or quantitative traits whose optimum varies spatially [ 39 , 42 ], and focus on range expansion rather than mutant fixation or extinction. Despite these important differences, it is interesting to note that in swamping, migration from regions where a mutant is disadvantaged to regions where it is advantaged hampers adaptation, echoing our finding that the opposite migration flow (from more favorable to less favorable regions) can amplify natural selection. Our analysis is relevant to experimental microbial populations, particularly in the frequent migration regime [ 61 , 62 ], whereas the rare migration regime leads to very long fixation times. Moreover, our results have direct implications for natural microbial populations in spatially structured habitats, such as the gut. In the line graph, we showed that a decreasing mutant fitness along the main flow direction can foster amplification of selection. The gut can be considered as a one-dimensional system to a first approximation, and features a directional hydrodynamic flow together with a fitness gradient due to nutrient availability [ 74 – 76 ]. These ingredients have been shown to impact mutant fixation [ 77 , 78 ]. Our results for a discrete line of demes suggest additional effects for mutants with spatially-dependent advantages in the gut, in particular promoting and accelerating their fixation. Our results, obtained for spatially structured populations with (almost) fixed sizes, also resonate with known ones for expanding populations. In particular, the presence of antibiotic concentration gradients can foster resistance evolution in expanding populations [ 79 – 82 ]. In these cases, expanding populations move toward zones where mutant fitness advantage is larger. It would be interesting to generalize our model to include initially empty demes where the population can grow. Other promising directions would be to consider larger and more complex graphs [ 83 ], including scale-free [ 84 ] and smallworld [ 85 ] networks, and to include time-varying environments in demes [ 86 , 87 ]. Moreover, while our focus has been on the fate of a single mutation, it would be very interesting to investigate the impact of heterogeneous spatially structured populations on fitness landscape exploration [ 71 , 88 , 89 ], longerterm evolution [ 90 , 91 ], as well as on population diversity under frequent mutations [ 92 – 94 ]. While here we focused on mutants whose fitness depends on the deme, the framework could also be extended to study social interactions, where fitness also depends on interactions between individuals within a deme. An intriguing perspective would be to investigate the impact of environment heterogeneity on social evolution in spatially structured populations, for instance in the context of evolutionary games and the evolution of cooperation [ 95 – 103 ]. It would also be interesting to generalize such a study to group interactions [ 104 , 105 ] and higher-order networks [ 106 ], and to address cases where the environment or the graph coevolves with population composition [ 104 , 105 ]. Methods Serial dilution model on a graph with heterogeneous environment We model a spatially structured population as a set of well-mixed demes, each sitting on one node of a connected graph with D nodes. Migration probabilities m ij are defined between any pair of demes ( i, j ) ∈ {1, …, D} 2 , including i = j , corresponding to individuals that stay in the same deme. They differ by their fitnesses, which are respectively f W = 1 for wild-types (taken as reference) and f M = 1+ s for mutants. Thus, s is the relative fitness advantage of mutants compared to wild-types. The population is composed of wildtypes of fitness f W = 1 (taken as reference) and mutants, whose fitness depends on the environment, and is denoted by f M,i = 1 + δ i s in deme i . Here, s is the baseline mutant fitness advantage, and δ i is an environment-dependent prefactor, which is nonnegative, and of order unity if it is nonzero. We generalize the model introduced in Ref. [ 36 ] to heterogeneous environments. The dynamics of the population, modeling serial passage with migrations, is composed of alternations of phases of growth and migration-dilution, see Figure 1 . Starting at a bottleneck, each deme separately undergoes deterministic exponential growth for a fixed time t . Fitnesses are understood as exponential growth rates. Therefore, the growth step is impacted by environment heterogeneity via the mutant fitness advantage sδ i , which depends on the deme i . Denoting by x i the initial fraction of mutants in deme i , the fraction of mutants after growth in deme i is: Note that the impact of the baseline selective advantage of mutants is encoded by the product st . We thus call st the (effective) baseline fitness advantage. After a growth phase, a dilution (regulation) and migration phase takes place. The number of mutants going from deme i to deme j is sampled from a binomial distribution with trials, with the size of the deme after growth, and a probability of success . Similarly for wild types, but with a probability of success . Each deme j thus receives on average individuals, leading to a new bottleneck state. We assume that for all , so that all demes have the same average bottleneck size K . For each pair of demes ( i, j ), this phase corresponds to sampling approximately Km ij bacteria from the total bacteria present in deme i , which contribute to the new bottleneck state of deme j . Growth and dilution-migration phases are iterated. Importantly, this serial dilution model with migrations is very close to a structured Wright-Fisher model [ 59 , 60 ]. In fact, we showed in Ref. [ 36 ] that for s ≪ 1, in the branching process approximation, results from structured Wright-Fisher models can be recovered from those of the serial dilution model by taking growth time t = 1. As a consequence, all our results here hold for structured Wright-Fisher models. Branching process description The state of the population is described with a multi-type branching process, where each type corresponds to mutants in each deme [ 36 ]. The branching process description assumes that all mutant lineages are independent [ 107 ]. It holds when mutants are in small numbers and deme sizes are large, K ≫ 1. For mutants with substantial selective advantage st ≫ 1 /K , extinction events happen when mutants are still rare [ 92 , 108 ]. Hence, the branching process approach holds when K ≫ 1 and st ≫ 1 /K . In the branching process regime, assuming that all nonzero migration probabilities are of order unity, the binomial distributions used to model a dilution-migration phase (see above) can be approximated by Poisson ones. Under these conditions, starting from one mutant in deme i at a bottleneck, the mutant extinction probability p i satisfies: for all i , where is given by Eq. 5 with x i = 1 /K . These equations generalize those of the homogeneous case [ 36 ], as here the mutant fraction in deme i after growth involves δ i . To solve Eq. 6 for all i , we assume that the baseline mutant fitness advantage is positive but small, 0 < st ≪ 1, and perform a Taylor expansion, see Eq. 1 and SI Section 1 . The fixation probability starting from one mutant in deme i at a bottleneck is then ρ i = 1 − p i . We focus on the average fixation probability across the structure, assuming that mutants appear uniformly at random in the structure. The average mutant extinction time can also be obtained in the branching process regime, see SI Section 1.4 . Rare migration regime When the timescale of migrations is much slower than mutant fixation or extinction within a deme, one can consider that each deme is always fully wild type or fully mutant as far as migration events are concerned. This allows a coarse-grained Markov chain description [ 35 , 51 ], which has allowed the determination of exact fixation probabilities in the homogeneous case [ 35 , 71 ]. Here, we extend this approach to the heterogeneous case, see SI Section 8.1 . Contrary to the branching process results, these results hold for all values of st , including for deleterious, neutral and effectively neutral mutants. Besides, they connect to evolutionary graph theory models [ 35 ]. However, the rare migration regime is associated to slow dynamics. In contrast, the branching process calculations assume that migration probabilities are of order unity, so these two approaches cover entirely distinct regimes and provide complementary insights. Data availability statement All the data relevant to this study is simulation data, and is included in the paper or in the supplementary material. The code used to generate this simulation data, allowing to reproduce our analyses, is available as specified below. Code availability statement Our code is freely available at https://github.com/Bitbol-Lab/StructPop_Heterogeneity and archived on Zenodo [ 109 ]. Supplementary Information 1 Branching process approach for frequent migrations 1.1 Poisson approximation For completeness, we briefly restate the stochastic process defined in the main text Section “Methods”, in order to set notations, and to introduce the Poisson approximation for the migration-dilution process. We then calculate mutant fixation probabilities in the branching process regime. We consider spatially structured populations with D demes, each located on each node of a graph. We assume that there are two types of individuals, mutants and wild-types. Let us denote by s the baseline relative fitness advantage of mutants with respect to wild-types. Let us further model environment heterogeneity by introducing a deme-dependent prefactor δ i in the mutant relative fitness advantage, such that in deme i , we have a relative fitness difference of δ i s between the two types. In other words, taking wild-type fitness as reference ( f W = 1), we have f M,i = 1 + δ i s , where f M,i denotes mutant fitness in deme i , while f W denotes wild-type fitness. We assume that δ i is nonnegative, and of order unity if it is nonzero. We start from the serial dilution model presented in Ref. [ 36 ], and we extend it to the heterogeneous case, where mutant fitness advantage is deme-dependent. In this model, demes undergo alternations of local deterministic exponential growth for time t , and of events of simultaneous dilution and migration leading to new bottlenecks, see Figure 1 . We call m ij the migration probability from deme i to deme j and assume for all j . We focus on the fate of a mutant that appears in deme i at a bottleneck, giving an initial mutant fraction in that deme, where K is bottleneck size, and 0 in other demes. For this, we consider the first growth and migration-dilution events happening. The mutant fraction after exponential growth reads in deme i [ 36 ]: where we introduced λ ( i ) , which is a deme-specific growth factor. Then, we model the subsequent migration-dilution event through binomial sampling from each deme to each other demes. In particular, mutants are sampled from the grown deme i , of size , to a destination deme j through the binomial law . Assuming and , we approximate the binomial law by a Poisson law with mean Compared to the homogeneous case considered in Ref. [ 36 ], the impact of heterogeneity is that the growth factor λ ( i ) depends on the deme i . 1.2 Expansion of the mutant fixation probability Assuming s > 0, K ≫ 1 and 1 /K ≪ st ≪ 1, and following a multi-type branching process description, as in Ref. [ 36 ], the probability p i that mutants gets extinct, starting from one single mutant in deme i at the bottleneck, satisfies: Note that, while this equation regards the mutant extinction probability, the mutant fixation probability can then be obtained as ρ i = 1 − p i . To solve the equations in Eq. S3 , we perform a perturbative expansion in st ≪ 1: where a j , b j and c j are coefficients to be determined. Expanding Eq. S1 yields Eq. S3 then yields, for j = 1, …, D : This gives, to third order in st ≪ 1: Eqs. S4 and S7 yield by identification, for j = 1, …, D : The first line in Eq. S8 is the same in a homogeneous environment [ 36 ], but the other ones differ, as they involve δ j . In the following sections, we use Eq. S8 to calculate the first-order coefficients a i first numerically for any strongly connected graph in Section 1.3 and then analytically for different graphs with strong symmetries or simple structures in Section 2 . 1.3 General determination of the mutant fixation probability to first order in st Before performing explicit analytical calculations in symmetric structures (see Section 2 ), we present a general method that allows one to numerically obtain the first-order coefficient in st of the fixation probability in any strongly connected graph. A strongly connected graph is a graph where there is a path between each pair of vertices of the graph, in both directions. Let us first consider the first line in Eq. S8 , which can be rewritten in vector form as: with a = ( a 1 , …, a D ). Thus, we are looking for an eigenvector of M for eigenvalue 1. As the graph is strongly connected, its migration matrix M is irreducible. Since M is an irreducible, non-negative matrix, and satisfies ∑ i m ij = 1 for all j , the Perron–Frobenius theorem guarantees that 1 is an eigenvalue of M , and is simple. To determine the norm of the corresponding eigenvector a , we use the second line in Eq. S8 . We isolate b j , use , and sum over all possible j : For given δ j values, this equation provides a constraint on the a i , which allows to determine the norm of a . Indeed, considering an eigenvector a ′ of M with eigenvalue 1, the vector a we are looking for can be written as a = C a ′ , where C is a constant, which should satisfy: With C ≠ 0, this finally yields a = C a ′ with 1.4 Average mutant extinction time The average extinction time of the lineage of a single mutant introduced in deme i at a bottleneck can be calculated in the branching process approximation from the probability generating function [ 36 , 107 ]. Specifically, in a multi-type branching process, the vector of extinction times, expressed in number of generations, , is given by: with f the generating function, whose component i satisfies: with λ ( i ) given by Eq. S5 . 2 Mutant fixation probability in analytically tractable spatial structures with heterogeneous environment In this Section, we consider specific graphs with strong symmetries or simple structures, and we investigate the impact of environment heterogeneity across demes on the fixation probability of a mutant appearing uniformly at random in one of the demes of the population. Using the branching process approach introduced above, we provide analytical expressions of the fixation probability to first order in st in the structures shown in Figure S1 , and we push the expansion to second order in the clique and in a particular cycle. These two graphs are circulations, and we first analyze this category of graphs. 2.1 Circulation graphs Circulations are graphs such that for each node i , ∑ j m ji = ∑ j m ij . In other words, for each deme i , the total incoming migration flow to deme i is equal to the total outgoing migration flow from deme i . Concrete examples are the clique and the cycle in Figure S1 . With homogeneous environments, these structures, which possess strongly symmetric migrations, are known to exhibit the same mutant fixation probability as a well-mixed population with the same size, whatever the initial location of the mutant. A version of this result is known in population genetics models with demes on the nodes of highly-symmetric graphs [ 16 , 17 ] as Maruyama’s theorem , and it was further formalized in evolutionary graph theory models with one individual per node of a graph [ 19 ], as the circulation theorem . In Ref. [ 35 ], we showed that the circulation theorem extends to our model with demes in the rare migration regime, up to a finite-size effect correction. Then, in Ref. [ 36 ], we showed that it holds exactly under the branching process approximation, in the case of frequent migrations between demes. Thus, circulations are a class of graphs where spatial structure has (essentially) no effect on mutant fixation probability for homogeneous environments. In this Section, we investigate whether the circulation theorem still holds with environment heterogeneity. As in Section 1 , we focus on the regime of frequent migrations and use the branching process approach. Download figure Open in new tab Figure S1: Some spatial structures with environment heterogeneity considered in this study. Schematics are shown for the clique with migration probability m , the line with migration probability to the right m R and to the left m L , the cycle with migration probability m A in the anticlockwise direction and m C in the clockwise direction, and the star, with incoming migration probability m I from each leaf to the center, and outgoing migration probability m O from the center to each leaf. Blue markers represent wild-type individuals and orange markers represent mutants. Gray backgrounds with different darkness represent different environments. 2.1.1 Circulation theorem to first order in st with heterogeneous environment For circulation graphs, using the Perron-Frobenius theorem and the first line of Eq. S8 (which is not affected by environment heterogeneity) allows us to show that all the a i coefficients equal, using the approach presented in Ref. [ 36 ]. Let us briefly recall this proof for completeness. The the first line of Eq. S8 shows that the vector ( a 1 , …, a D ) is an eigenvector of the matrix M of migration probabilities with eigenvalue 1. As the matrix M is non-negative and irreducible [ 36 ], the Perron-Frobenius theorem ensures that the largest real eigenvalue r of M is simple, positive, and satisfies: As circulations satisfy ∑ i m ij = ∑ j m ij = 1, we have r = 1. Since (1, …, 1) is an eigenvector of M associated to 1, it generates the eigenspace associated to the eigenvalue 1, and thus ( a 1 , …, a D ) is proportional to (1, …, 1), i.e. all the a i coefficients equal. Let us call them a . Moreover, the second line of Eq. S8 then provides a = 2⟨ δ ⟩ (see Eq. S10 in Section 1.3 , written in the specific case where all a i are equal). Hence, to first order in st , the probability of fixation of a mutant starting from any deme in a circulation is: Hence, only the mean relative fitness advantage of the mutant across the structure matters for the mutant fixation probability in heterogeneous circulations. Furthermore, the result in Eq. S16 is the same as in a well-mixed population with the same ⟨ δ ⟩ [ 67 ]. Thus, to first order in the branching process regime, the circulation theorem extends to structures with heterogeneous fitness differences across demes. Concretely, to first order, neither the spatial structure nor the environment heterogeneity within a circulation have any impact on fixation probability. All heterogeneous circulations have the same fixation probability as the corresponding homogeneous well-mixed population. We show in Figure S2A our analytical prediction for the first-order fixation probabilities, given by Eq. S16 , together with simulation results for four different circulations with heterogeneous environments: a clique, a cycle, a star with migration asymmetry α = m I /m O = 1, and a line with migration asymmetry α = m R /m L = 1 (see Figure S1 ). We also report results for the well-mixed population with mutant fitness advantage ⟨ δ ⟩ s . Our simulation results agree with our analytical prediction. We also show the mutant extinction time in Figure S2B , both from simulations and from a numerical calculation (see Section 1.4 ), for the four circulation graphs and the corresponding well-mixed population. We again observe good agreement between results from simulations and calculations. Download figure Open in new tab Figure S2: Fixation probability and extinction time for structured populations on circulation graphs with environmental heterogeneity across demes. Panel A: Fixation probability for four different graph structures: cycle, clique, line, and star (see Figure S1 ), under the condition ∑ i m ij = ∑ i m ji for all nodes j , is shown as a function of the baseline mutant fitness advantage st . Panel B: Mutant extinction time, expressed in number of bottlenecks, as a function of the baseline mutant fitness advantage st , for the same structures. Solid lines represents results from the branching process theory ( Eq. S16 in panel A, Eq. S13 in panel B), while markers represent results from stochastic simulations. The well-mixed population (“WMP”) simulation result for the same ⟨ δ ⟩ is included in both panels for reference. Parameter values: D = 5; K = 1000; δ i values: 0.49, 0.32, 0.70, 0.41, 0.62 (independently sampled from a uniform distribution on the interval [0, 1]), resulting in ⟨ δ ⟩ = 0.51; m = m I = m O = 0.15; m L = m R = m A = m C = 0.3; each marker comes from 5 × 10 5 simulation realizations. 2.1.2 Specific circulation graphs: clique and cycle with heterogeneous environment In SI Sec. 2.1.1 , we derived the fixation probability of a mutant in any circulation graph with heterogeneous environment to first order in st . The clique and the cycle graphs are circulations, for all values of m in the clique and of m A and m C in the cycle (see Figure S1 ). Note that this stands in contrast with the star and the line, which are circulations only when α = 1 (see Figure S1 ). The clique and the cycle are thus fully covered by the general result in Eq. S16 . Given their particularly high symmetry, more direct calculations of the first-order fixation probability can also be performed in the clique and the cycle. We provide them below for completeness. Clique with heterogeneous environment In the clique, m ij = m for all i ≠ j . Hence, the first line of Eq. S8 becomes for all j . This implies that all a j coefficients are equal, say to a , consistently with our general result derived above for circulations. To obtain the value of a , we now use the second line of Eq. S8 : Summing Eq. S17 over j yields: Thus, as a ≠ 0, we obtain the first-order coefficient a = 2⟨ δ ⟩ for the clique, with . Therefore, the fixation probability ρ i of a single mutant starting in deme i at a bottleneck in a clique reads to first order in st : which coincides with our general result for circulations in Eq. S16 . Cycle with heterogeneous environment Let us now consider the cycle, with migration probabilities to nearest neighbor demes that can differ in the clockwise and anticlockwise directions, and are denoted by m C and m A , respectively (see Figure S1 ). Here, we use the fact that all a i are equal to the same value a in a circulation, see the beginning of Section 2.1.1 . The second line of Eq. S8 then reads: In the cycle (see Figure S1 ), we have m ii = 1 − m A − m C . Hence, Eq. S20 becomes: The sum of Eqs. S21 reads: Thus, a = 2⟨ δ ⟩, which entails that the mutant fixation probability ρ i to first order in st is Again, this coincides with our general result for circulations in Eq. S16 . 1.2.3 Beyond the circulation theorem: second order in st Does the circulation theorem hold for heterogeneous environments beyond the first order in st ? To investigate this, we calculate the second-order coefficient of the fixation probability. We start from the second line of Eq. S8 , written in matrix form as: Here, we introduced the vector of second-order coefficients b = ( b 1 , …, b D ), as well as the vectors δ = ( δ 1 , …, δ D ), and 1 = (1, …, 1). Meanwhile, M is the migration matrix with coefficients m ij , and a = 2 ⟨ δ ⟩ is the first-order coefficient (see Section 2.1.1 ). Recall that the first line of Eq. S8 implies that 1 is an eigenvector of M with eigenvalue 1. To determine b , we generalize the approach developed for homogeneous environments in Ref. [ 36 ], and use a Jordan decomposition of the migration matrix M . It allows us to complete 1 into a complex basis such that the complementary space ℰ ⊥ of the space ℰ generated by 1 is stable under the action of M . We decompose b as follows: b = b ⊥ + b ∥ , with b ∥ = b ∥ 1 ∈ ℰ and b ⊥ ∈ ℰ ⊥ . Similarly, we write δ = δ ⊥ + δ ∥ , with δ ∥ = δ ∥ 1 . We can then rewrite Eq. S24 as: Thus, in ℰ, since M b ∥ = b ∥ : and in ℰ ⊥ : Since a = 2⟨ δ ⟩ (see Section 2.1.1 ), Eq. S26 ensures that δ ∥ = ⟨ δ ⟩. Thus, we have: As shown in Section 2.1.1 , the largest eigenvalue of M is 1 and is associated to the eigenspace ℰ ∥ , and all other eigenvalues have a strictly smaller modulus. Thus, (𝕀 − M ) restricted to ℰ ⊥ , where 𝕀 denotes the identity matrix, has no zero eigenvalue, and is invertible. Hence, Eq. S27 yields: with δ ⊥ given in Eq. S28 . Next, to find b ∥ , we use the third line of Eq. S8 . Using ∑ k m kj = 1, and a j = a for all j , the third line of Eq. S8 becomes, for all j ∈ [1, D ], Summing this equation over all j ∈ [1, D ] yields: which reduces to Writing for all j , where is the j -th component of b ⊥ , and recalling that for circulations a = 2⟨ δ ⟩ (see Section 2.1.1 ), we obtain: where can be obtained from Eq. S29 . Clique with heterogeneous environment Recall that in the clique (see Figure 1B ), m ij = m for all i ≠ j . For a heterogeneous clique, b ⊥ with components satisfies Eq. S29 . Let us now calculate b ∥ for a heterogeneous clique, using Eq. S33 . Eq. S34 entails that b ′ = 0, and allows us to write: so Eq. S33 yields: Eq. S34 and Eq. S36 show that, to second order in st , the mutant fixation probability in a heterogeneous clique generically depends on the deme i where the mutant starts, and on migration intensity m . Therefore, the circulation theorem does not hold to second order in st for heterogeneous structures. In the particular case of the homogeneous clique with δ i = Δ for all i , Eq. S34 reduces to for all i , and Eq. S36 reduces to b ∥ = 10Δ 2 / 3, yielding a mutant fixation probability ρ i = 2Δ st − 5(Δ st ) 2 / 3 + o (( st ) 2 ) for all i . This is in agreement with the result of Ref. [ 36 ] for homogeneous circulations (see Eq. S16 in the Supplementary Material of that paper, written for a mutant with effective fitness advantage Δ st ). Recall that the circulation theorem holds for homogeneous environments in the branching process approximation [ 36 ]. Note that the mutant fixation probability averaged over starting demes reads: where b ∥ is given by Eq. S36 . Thus, to second order, this fixation probability does not involve b ⊥ , and only depends on environment heterogeneity through ⟨ δ ⟩ and ⟨ δ 2 ⟩ . Let us compare the mutant fixation probability, averaged over starting demes, in a heterogeneous clique and in a homogeneous clique with the same ⟨ δ ⟩ . Calling ρ and ρ homo these two fixation probabilities, Eq. S37 yields: In the clique, ∑ i m ij = 1 entails that m ii = 1 − ( D − 1) m , and as all migration probabilities are between 0 and 1, we have ( D − 1) m ≤ 1 and, and thus Dm ≤ 1 + m ≤ 2. This entails that ρ ≥ ρ homo . Thus, in the clique, the fixation probability averaged over all initial mutant locations is increased by environment heterogeneity, compared to that of a homogeneous clique with the same ⟨ δ ⟩ . In other words, environment heterogeneity generically amplifies natural selection to second order in st . Furthermore, this effect increases with the environment variance Var( δ ) of the δ i coefficients across demes is. It also increases when the migration probability m decreases. Figure S3A shows the secondorder coefficient in st of the fixation probability. Besides being increased by environment heterogeneity, we observe that it can be positive, in which case the second order term increases the fixation probability, while for homogeneous environments, it always decreases it. Download figure Open in new tab Figure S3: Impact of environment heterogeneity on fixation probability in circulations. As the fixation probability is the same in all circulations to first order in st , we focus on the impact of the second-order term. Specifically, we show the second-order coefficient − b ∥ in the expansion of fixation probability ( Eqs. S37 and S42 ; see also Eq. 1 in the main text). Panel A: This second-order coefficient (expressed using Eq. S36 ) is shown versus the mean mutant fitness advantage prefactor ⟨ δ ⟩ across the structure, for various heterogeneous cliques. Markers are colored according to the variance of the deme-specific mutant fitness advantage prefactor δ i coefficient across demes i , a proxy for environment heterogeneity. Horizontal dashed black line: no deviation from the first-order approximation. Dashed gray line: homogeneous environment case. Panel B: Same as A, but for heterogeneous cycles with equal clockwise and anticlockwise migration probabilities (using Eq. S41 ). Parameters: D = 5, m = 0.1 in the clique, m = 0.2 in the cycle (same total of exchanges in the two structures). Numbers in {0, 0.1, …, 0.9, 1} are employed for each δ i , and all combinations of them are considered. A particular cycle with heterogeneous environment Recall that in the cycle, migration probabilities are nonzero only to nearest neighbor demes (and to the original deme itself). Migrations to nearest neighbor demes can differ in the clockwise and anticlockwise directions, and are denoted by m C and m A , respectively (see Figure 1B ). Here, we present explicit calculations in the specific case of a heterogeneous cycle with D = 5 and m A = m C = m . Solving Eq. S29 in this case leads to: Let us now calculate b ∥ in this case, using Eq. S33 . Eq. S39 entails that ⟨ b ′ ⟩ = 0, and allows us to write: so Eq. S33 yields: Note that in a homogeneous cycle with D = 5 and m A = m C = m , where δ i = Δ for all i , Eq. S39 reduces to b ⊥ = 0 , and Eq. S41 reduces to b ∥ = 10Δ 2 / 3, which is the same as above for the homogeneous clique. This is consistent with the fact that the circulation theorem holds for homogeneous environments in the branching process approximation [ 36 ]. The mutant fixation probability averaged over starting demes reads: where b ∥ is given by Eq. S40 . As for the clique, to second order, this fixation probability does not involve b ⊥ . Let us compare the mutant fixation probability, averaged over starting demes, in a heterogeneous cycle and in a homogeneous cycle with the same ⟨ δ ⟩, still in the particular case where D = 5 and m A = m C = m . Calling ρ and ρ homo these two fixation probabilities, Eq. S42 yields: Let us now investigate the sign of ρ − ρ homo . Noticing that we can write, in terms of rough orders of magnitude, Eq. S43 then yields: In our particular cycle with m A = m C = m , the condition i m ij = 1 for all j gives 2 m + m ii = 1, i.e. m ii = 1 − 2 m . Since all migration probabilities are between 0 and 1, we have m ≤ 1 / 2. Hence, under the rough assumption of Eq. S45 , Eq. S46 indicates that ρ ≳ ρ homo and that the smaller m is, and the larger the variance of the δ i is, the larger ρ − ρ homo is expected to become. These approximate results are reminiscent of the exact results obtained for the clique in Eq. S38 . Accordingly, we observe in Figure S3B a similar behavior of the second-order coefficient in st of the fixation probability in this particular cycle as in the clique (considered in Figure S3A ). Figure S4A shows the exact value of the deviation with respect to the homogeneous case of b ∥ , from Eq. S43 , for multiple heterogeneous cycles, differing by their environmental heterogeneity, via δ . We observe that the approximate second-order coefficient, from Eq. S46 , yields the correct trend of its dependence in Var( δ ) = ⟨ δ 2 ⟩ − ⟨ δ ⟩ 2 (in agreement with a linear fit), but that there is substantial spread around that trend. We also observe that the discrepancy between the exact and the approximate formulas is small (resp. large) when is small (resp. large), as expected given the approximation made. Since for the cycle the variance does not fully capture the impact of environment heterogeneity, we further explore the role of the spatial placement of heterogeneity in the cycle. A metric to quantify local variation between neighboring demes compared to the global variation is: where δ i denotes the deme-specific mutant fitness advantage prefactor, and Var( δ ) is the variance of these prefactors across demes. The numerator of V quantifies local environment variation, and the denominator overall environment heterogeneity. At a fixed value of the variance, a gradual local variation results in a small numerator, resulting in a small value of V . Meanwhile, repeated abrupt alternations in δ i for nearby demes result in a large numerator and hence a large value of V . In Figure S4B , we color the excess fixation probability in the cycle due to the second order term (i.e. − b ∥ ) based on the value of V in Eq. S47 . We observe that when similar values of δ i are clustered together (i.e. for small V ), the excess fixation probability tends to be higher. Download figure Open in new tab Figure S4: Impact of environment heterogeneity on the second-order coefficient of the fixation probability in the cycle. Panel A: Difference between the second-order coefficients for a cycle with heterogeneous and homogeneous environment (see Eq. S43 ), plotted against the environment variance Var( δ ). Markers are colored according to . Solid red line: linear fit of the data. Dashed black line: approximate theoretical prediction from Eq. S46 . Panel B: The second-order coefficient − b ∥ in the expansion of fixation probability ( Eq. S42 ; see also Eq. 1 in the main text) is shown versus the mean mutant fitness advantage prefactor ⟨ δ ⟩ across the structure, for various heterogeneous cycles, as in Figure S3B , but colored according to the ratio of local to global environmental variation, defined in Eq. S47 . Dashed gray line: homogeneous environment case ( Eq. S36 ). Parameter values for both panels: D = 5, m A = m C = m = 0.2 for the cycle. Numbers in {0, 0.1, …, 0.9, 1} are employed for each δ i , and all combinations of them are considered. All cycles considered here have equal clockwise and anticlockwise migration probabilities. 2.2 Star with heterogeneous environment Let us now consider the star, with incoming migration probabilities from a leaf to the center that can differ from outgoing ones from the center to a leaf, and are denoted by m I and m O , respectively (see Figure 1B ). As noted earlier, the first line in Eq. S8 is not impacted by environment heterogeneity. Thus, as in Ref. [ 36 ], the first-order coefficients for the fixation probability for a mutant starting in the center and in a leaf, denoted respectively by a C and a L , satisfy a L = αa C , where α = m I /m O represents migration asymmetry. Note that environment heterogeneity across leaves does not make these firstorder coefficients dependent on the leaf where the mutant start. Let ℒ be the set of the indexes labeling the leaves of the star. The second line in Eq. S8 , written for the center (with second-order coefficient b C ) and for one of the leaves j ∈ ℒ (with second-order coefficient b j ), yields: Summing Eqs. S48 over all demes gives: i.e., after simplification, and using a L = αa C : Hence, as a C ≠ 0, we obtain: Let us now consider a mutant appearing at a bottleneck in a deme chosen uniformly at random. Its fixation probability ρ reads, to first order in st : where we introduced , and σ C = ( δ C − ⟨ δ ⟩) / ⟨ δ ⟩. Importantly, the result in Eq. S52 only depends on selection through the mean mutant fitness effect, via ⟨ δ ⟩, and through the relative fitness excess in the center, via σ C . In other words, the heterogeneity of selection across leaves does not impact this fixation probability to first order. We show the first-order coefficient of the fixation probability as a function of α and σ C in Figure 2A . Note that for a homogeneous star, where σ C = 0 and δ takes a unique value, say Δ, across the whole population, Eq. S52 reduces to: i.e. the result from Ref. [ 36 ] for the homogeneous star. Note also that for α = 1, when the star is a circulation, Eq. S52 yields the same result as for other circulations considered so far, namely ρ = 2 ⟨ δ ⟩ st (see Eqs. S19 and S23 ). 2.3 Line with heterogeneous environment Let us now consider the line, with migration probabilities to the left that can differ from those to the right, and are denoted by m L and m R , respectively (see Figure 1B ). Contrary to other structures discussed so far, the line was not considered in Ref. [ 36 ] in the homogeneous case. Hence, the results below are new even in the homogeneous case. The first line in Eq. S8 , written for each node of the line, yields: Introducing migration asymmetry α = m R /m L , we get to: It can be shown by induction that where B is a constant, is a solution of Eq. S55 . Let us now use the equations corresponding to the second line of Eq. S8 , written for each node of the line, to determine the values of the constant B : Summing Eqs. S57 over all nodes of the line yields: which simplifies into Using Eqs. S56 and S59 then gives: The first-order coefficient a k of the fixation probability for a mutant starting in deme k , thus reads: Let us now consider a mutant appearing at a bottleneck in a deme chosen uniformly at random. Its fixation probability ρ reads, to first order in st : In particular, for a homogeneous line where all δ i are equal, say to Δ, this reduces to: Note that if α = 1, when the line is a circulation, Eq. S56 reduces to a j = C , with C a constant. Then, Eq. S59 yields C = 2 ⟨ δ ⟩, and hence ρ = 2 ⟨ δ ⟩ st , which is the same result as for the other circulation graphs we considered so far. 3 Comparison of fixation probabilities between structures 3.1 Comparison of fixation probabilities in the star and in the clique Let us focus on the heterogeneous star structure, and on its impact on mutant fixation probability. First, for reference, in Section 3.1.1 , we briefly compare a homogeneous star to a clique. Next, in Section 3.1.2 , we determine under what conditions heterogeneity can increase the fixation probability in the star, compared to a homogeneous star. Finally, in Section 3.1.3 , we compare a heterogeneous star to a clique, to determine if a heterogeneous star can suppress or amplify selection. In all cases, when we compare a structure with heterogeneous environment to another one with homogeneous environment, we match their average mutant fitness advantage, i.e. in our notations, we match their ⟨ δ ⟩ . Our comparisons all rely on the first-order fixation probabilities derived in Section 1 in the branching process approximation. 3.1.1 Homogeneous star versus clique We first consider a homogeneous star with relative mutant fitness advantage s Δ in all demes. We compare it to a heterogeneous clique with relative mutant fitness advantage sδ i in deme i , satisfying ⟨ δ ⟩ = Δ. Using the fixation probabilities in Eqs. S53 and S19 , we find that the homogeneous star has a first-order fixation probability lower than the heterogeneous clique if and only if: Note that the heterogeneity of the clique does not impact its fixation probability to first order (see Eq. S19 ), and thus, this condition is the same as that found in Ref. [ 36 ], when comparing the homogeneous star and the homogeneous clique. As shown in Ref. [ 36 ], this condition is always satisfied, except for α = 1, when the two fixation probabilities are equal. Thus, the homogeneous star suppresses natural selection under frequent asymmetric migrations. 3.1.2 Homogeneous star versus heterogeneous star Let us compare the fixation probabilities in a heterogeneous star and in a homogeneous star, given respectively in Eqs. S52 and S53 to first order in st . Our homogeneous star has relative mutant fitness advantage s Δ in all demes, while our heterogeneous star has relative mutant fitness advantage sδ i in deme i , satisfying ⟨ δ ⟩ = Δ. The first-order fixation probability is larger in the heterogeneous star than in the homogeneous star if and only if: As the denominator and the term 1 + α ( D − 1) are positive, this is equivalent to Thus, the relative fitness excess in the center should have the same sign as 1 − α for heterogeneity to enhance mutant fixation probability. This means that if α < 1 (i.e. m I 1 (i.e. m I > m O , more inflow to the center than outflow), heterogeneity benefits mutant fixation if the center features a smaller mutant fitness advantage than the leaves. 3.1.3 Heterogeneous star versus clique We have shown that a homogeneous star has a smaller mutant fixation probability than a clique, but that a heterogeneous star can have a larger mutant fixation probability than a homogeneous one. What is the overall effect of a heterogeneous star structure compared to a clique? In particular, can environment heterogeneity allow the star to overcome the suppression of selection effect it has under homogeneous environments? To address this question, we compare a heterogeneous star to a clique. Recall that only average fitness matters to first order for the mutant fixation probability in the clique. Hence, we consider a clique which can be homogeneous or heterogeneous, but which has the same average fitness as our heterogeneous star. The fixation probabilities in a heterogeneous star and in a clique are given respectively in Eqs. S52 and S19 to first order in st . The first-order fixation probability is larger in the heterogeneous star than in a clique if and only if: This condition is equivalent to: The condition in Eq. S68 can be expressed as: σ C > f star ( α,D ) if α < 1, σ C 1, where we introduced We show f star ( α, D ) versus α in Figure S5A , and highlight in pink the regions of the plane ( α, σ C ) where amplification of selection exists (see also Figure 2 ). We further present an example of amplification of selection in Figure S5B . The associated fixation and extinction times are shown in Figure S5C-D . As observed with the line in the main text (see Figure 3 ), we simultaneously obtain amplification of selection and acceleration of fixation and extinction, albeit to a smaller extent. Download figure Open in new tab Figure S5: Amplification of natural selection by the heterogeneous star with frequent migrations. Panel A: f star ( α, D = 5) defined in Eq. S69 is plotted as a function of α . The pink region highlights the parameter range where Eq. S68 predicts that a heterogeneous star amplifies selection relative to a clique. The gray marker indicates the parameter set used in the other panels. Panel B: Fixation probability for a heterogeneous star and a clique with the same ⟨ δ ⟩ as a function of the baseline mutant fitness advantage st . Panels C-D: Mutant fixation and extinction time, respectively, expressed in numbers of bottlenecks, as a function of the baseline mutant fitness st . Results from the branching process theory (“Th.”) are shown in panels B ( Eq. S52 ) and D ( Eq. S13 ). Stochastic simulation results (“Sim.”) are shown in panels B-D. Parameters: D = 5, K = 1000; for the star: α = 2, m O = 0.1; δ C = 0.05 in the center; δ L = 0.6125 in all leaves, yielding ⟨ δ ⟩ = 0.5 and σ C = −0.9; for the clique: δ = 0.5 in all demes and m = 0.15. Each marker comes from 5 × 10 5 stochastic simulation realizations. 3.2 Comparison of fixation probabilities in the line and in the clique In this section, we focus on the line structure, and on its impact on mutant fixation probability. First, in Section 3.2.1 , we compare a homogeneous line to a clique, to assess the baseline impact of the line spatial structure. Then, in Section 3.2.2 we compare a homogeneous line to a heterogeneous line, to assess the impact of environment heterogeneity in a line. Finally, in Section 3.2.3 , we compare a heterogeneous line to a clique, to determine if a heterogeneous line can suppress or amplify selection. As done above for the star, in all cases, when we compare a structure with heterogeneous environment to another one with homogeneous environment, we match their average mutant fitness advantage, i.e. in our notations, we match their ⟨ δ ⟩ . Besides, our comparisons again rely on the first-order fixation probabilities derived in Section 2 in the branching process approximation. 3.2.1 Homogeneous line versus clique Let us consider a homogeneous line with relative mutant fitness advantage s Δ in all demes. Let us compare it to a heterogeneous clique with relative mutant fitness advantage sδ i in deme i , satisfying ⟨ δ ⟩ = Δ. We derived their fixation probabilities in Eqs. S63 and S19 , respectively. Recall that the result for the clique was unaffected by environment heterogeneity – thus, our comparison will hold for homogeneous and heterogeneous cliques. A homogeneous line has a first-order mutant fixation probability lower than a heterogeneous clique if and only if: This condition is always satisfied, except if α = 1, when the two fixation probabilities are equal. It is illustrated in Figure S6 . Hence, the homogeneous line suppresses selection, as long as it features migration asymmetry. This is consistent with our general result on homogeneous spatially structured populations from Ref. [ 36 ]. Download figure Open in new tab Figure S6: Suppression of selection in the homogeneous line with migration asymmetry. The function f ( α ) = (1 + α )(1 − α D ) / [ D (1 − α )(1 + α D )] involved in Eq. S70 is plotted versus the migration asymmetry α in the line for D = 5, 10, 20. 3.2.2 Homogeneous line versus heterogeneous line Let us compare the fixation probabilities in a heterogeneous line and in a homogeneous line, given respectively in Eqs. S62 and S63 to first order in st . Our homogeneous line has relative mutant fitness advantage s Δ in all demes, while our heterogeneous line has relative mutant fitness advantage sδ i in deme i , satisfying ⟨ δ ⟩ = Δ. The first-order fixation probability is larger in the heterogeneous star than in the homogeneous star if and only if: Let us now introduce the relative mutant fitness excess σ j in deme j such that for all j : δ j = ⟨ δ ⟩(1 + σ j ) = Δ(1 + σ j ). Note that the σ j satisfy . Eq. S71 then becomes: Monotonic mutant fitness advantage variation along the line Let us consider the case where the mutant fitness advantage varies monotonically along the line. Without loss of generality, let us assume that it monotonically decreases left to right, from deme 1 to deme D . Since the σ j satisfy , there exists k ∈ [1, D ] such that If α > 1, then for all j > k ≥ 1, we have α − j 0. Hence, Eq. S72 holds for all α > 1 in our line with monotonically decreasing fitness advantage from left to right. If α < 1, a similar reasoning leads to S ( α ) < 0. Hence, Eq. S72 never holds for α < 1 in our line with monotonically decreasing fitness advantage from left to right. Thus, the heterogeneous line with monotonically decreasing mutant fitness advantage from left to right features a larger mutant fixation probability than the homogeneous line for α > 1, but a smaller one for α 1, most migrations are from left to right, i.e. demes where mutants are most advantaged are upstream of the overall migration flow. This favors mutant spread and fixation. 3.2.3 Heterogeneous line versus clique Let us now compare a heterogeneous line to a clique. Recall that only average fitness matters to first order for the mutant fixation probability in the clique. Hence, we consider a clique which can be homogeneous or heterogeneous, but which has the same average fitness as our heterogeneous line. The fixation probabilities in a heterogeneous line and in a clique are given respectively in Eqs. S62 and S19 to first order in st . The first-order fixation probability is larger in the heterogeneous line than in a clique if and only if: Let us now introduce, as above, σ j such that δ j = ⟨ δ ⟩(1 + σ j ). Recall that . Eq. S75 becomes: If a heterogeneous line satisfies Eq. S76 , it features a higher mutant fixation probability than a homogeneous clique, to first order in st . This means that environment heterogeneity then allows the line to overcome the suppression of selection that the homogeneous line features when compared to the clique. No amplification is possible if the mutant fitness advantage monotonically decreases left to right and α < 1 We showed in the previous Section that if the mutant fitness advantage monotonically decreases left to right and α < 1, the mutant fixation probability in the heterogeneous line is smaller than in the homogeneous line. Because the homogeneous line itself suppresses selection, we conclude that no amplification is possible if the mutant fitness advantage monotonically decreases left to right and α < 1. Another way to see this, which connects more directly to Figure 3A , is that if α < 1, S ( α ) 0 (see below), which entails S ( α ) 0 if α < 1, we notice that the denominator of g ( α ) is then negative, and thus we aim to show that the numerator is negative too. Denoting the numerator as its derivative with respect to α reads: and its second derivative with respect to α is: When . Thus, is a decreasing function on (0, 1). As , we have on (0, 1), which entails that g N is an increasing function on (0, 1). As g N (1) = 0, we conclude that g N ( α ) 0 if α < 1 as announced, and there cannot be amplification of selection for α 1). We plot S ( α ) together with g ( α ) in such a case in Figure 3A in the main text. This Figure suggests that Eq. S76 is valid for all α > 1, and that the difference between S ( α ) and g ( α ) becomes smaller and smaller when α increases. To better understand this, let us investigate asymptotics for α → ∞ . In the simple case considered here, we have: where we have retained the two leading terms in powers of α when α → ∞. Doing the same for g ( α ), Eq. S76 gives: Thus, in this case, S ( α ) > g ( α ) in terms of asymptotic behavior for α → ∞. Note however that for other choices of σ i that monotonically decrease from left to right, the curves representing S ( α ) and g ( α ) often cross again for some α > 1, meaning that amplification then exists in a finite range of α . Examples of other environmental profiles Let us first continue our analysis of the simple step environmental gradient. In Figure 3B in the main text, we considered the case where mutants had an advantage only in the deme upstream of the main migration flow (special deme on the left and α > 1). Figure 3A also shows that Eq. S76 does not hold with the same environment profile when α 1 (by symmetry, this is equivalent to having a special leftmost deme with asymmetry 1 /α , giving α < 1), and as predicted above, we obtain suppression of selection. This suppression is even stronger than in a homogeneous line. These results show that in the line, when the environmental profile has the same orientation as the overall migration flow, selection can be amplified. Meanwhile, when the environmental profile is homogeneous or opposes the overall migration flow, selection is suppressed. Figure S7B-C (see also Figure 3C-D ) also shows that while the line with similarly-oriented migration flow and environmental profile can accelerate fixation or extinction compared to the homogeneous clique and to the homogeneous line with the same migration asymmetry. Conversely, Figure S7B-C shows that the line with opposite migration flow and environmental profile tends to feature slower fixation or extinction than the homogeneous clique and to the homogeneous line with the same migration asymmetry. Download figure Open in new tab Figure S7: Impact of the direction of the environmental profile in the line. Top: Schematic of all spatial structures considered in this Figure: heterogeneous lines with overall migration flow and environmental profile that are either similarly oriented or opposite (left); homogeneous clique (middle), and homogeneous line with the same migration probabilities (right). All spatial structures have the same average mutant fitness advantage (same ⟨ δ ⟩). Panel A: Mutant fixation probability in the different spatial structures considered, versus baseline mutant fitness advantage st . Panel B: Mutant fixation time, in number of bottlenecks, in the different spatial structures considered, versus baseline mutant fitness advantage st . Panel C: Same as in B, but for mutant extinction time. Results from the branching process theory (“Th.”) are shown in panels A ( Eq. S62 ) and C ( Eq. S13 ). Stochastic simulation results (“Sim.”) are shown in panels A-C. Parameter values for all structures: D = 5, K = 1000; for all lines: α = 1.5, m L = 0.3; for the clique: m = 0.15; for heterogeneous lines: δ = 1 in the special deme, δ = 0 in other ones. Each marker comes from 5 × 10 5 stochastic simulation realizations. In Figure S8 , we further investigate the effect of different environmental profiles in a line with α > 1. We consider a linear and a Gaussian profile, both with the same orientation as the overall migration flow (i.e., the demes where the mutants are most advantaged are upstream). These profiles are intermediate cases between the step environmental profile and the homogeneous environment. We chose them so that the average mutant fitness advantage is the line is the same in all cases (same ⟨ δ ⟩), see Figure S8A for a depiction of the spatial profiles considered. We observe in Figure S8B that these various cases yield some amplification of selection, and that larger environmental contrast between demes is associated to more amplification of selection. Figure S8C-D further suggest that larger environmental contrast between demes leads to more acceleration of mutant fixation and extinction. Download figure Open in new tab Figure S8: Impact of different environmental profiles in the line. Panel A: Different environmental profiles considered: step, Gaussian, linear, and homogeneous. For each of them, the mutant fitness advantage prefactor δ is shown versus position along the line. In what follows, we consider lines with α = 1.5 and values δ i taken in each of these profiles at regular intervals for i ∈ {1, …, 5} (markers) for each of the 5 demes of the graph. The profiles are chosen so that all lines have the same ⟨ δ ⟩. Panel B: Mutant fixation probability in the different structures considered, versus baseline mutant fitness advantage st . Panel C: Mutant fixation time, in number of bottlenecks, in the different structures considered, versus baseline mutant fitness advantage st . Panel D: Same as in C, but for mutant extinction time. Results from the branching process theory (“Th.”) are shown in panels B ( Eq. S19 ) and D ( Eq. S13 ). Stochastic simulation results (“Sim.”) are shown in panels B-D. Parameter values for all structures: D = 5, K = 1000; for all lines: α = 1.5, m L = 0.3; for the clique: m = 0.15. Each marker comes from 5 × 10 5 stochastic simulation realizations. 4 Spatial structures with one special deme Our results for the heterogeneous star and of the heterogeneous line show that environment heterogeneity can allow spatially structured populations with frequent asymmetric migrations to amplify natural selection. They also suggest that this happens when the overall migration flow goes from a region where mutants are most beneficial to a region where they are less beneficial. To further explore this, we now consider a more general spatial structure, where all pairs of demes are connected by migrations, but where one deme has a migration outflow that differs from others, and can thus send out more individuals. We assess the impact of having a different environment in that special deme. First, in Section 4.1 , we consider the simplest version of this structure with a special deme where the environment and the outflow both differ from those of other demes, assuming a highly symmetric migration matrix. We determine mutant fixation probability to first order in st , and obtain a condition on the asymmetry in migrations and the environment heterogeneity to obtain amplification of selection. Next, in Section 4.2 , we consider more general and less symmetric migration matrices, with coefficients drawn in Dirichlet distributions (see Ref. [ 36 ] for the homogeneous environment case), with one special deme where both the environment and the migration outflow differ from those of other demes. 4.1 Highly symmetric structure with one special deme 4.1.1 Fixation probability Let us consider a simple structure where the first deme has a different migration outflow, i.e. it sends out more (or fewer) individuals than others. Specifically, we assume that all outgoing migrations from deme 1 happen with probability m 1 , while all other migrations across the structure occur with probability m 2 . Figure 4 illustrates the case m 2 < m 1 . In addition to having a different outflow, the first deme is such that the relative mutant fitness advantage is δ 1 s , while in all other demes it is δ 2 s . Under these assumptions, only the first deme is different from others, and all other ones are equivalent to each other: this structure is highly symmetric. Since for all j , we have the following constraint on migration probabilities: The first line of Eq. S8 , written for the first node and for another one, yields: Note that we have used the symmetry of the structure to write that a i = a 2 for all i ≥ 2. Using Eqs. S82 , both Eq. S83 and Eq. S84 reduce to: Note that here we introduced while the most analogous quantity to our work with the star (here and in Refs. [ 35 , 36 ]) would be . This is motivated by the fact that our results in the next Sections take a simpler form with . However, to facilitate the comparison with the star, we express fixation probabilities as a function of . The second line of Eq. S8 , written for the first node and for another one, yields: Summing Eq. S86 with ( D − 1) times Eq. S87 , and using Eq. S82 , we obtain: which yields Eqs. S85 and S89 then provide the fixation probability ρ , to first order in st , of a mutant appearing at a bottleneck in a deme chosen uniformly at random in the structure: Note that, for , this reduces to ρ = 2⟨ δ ⟩ st , as in all other structures considered so far. 4.1.2 Condition for amplification of selection The fixation probabilities in our structure and in a clique are given respectively in Eqs. S90 and S19 to first order in st . The first-order fixation probability is larger in our structure than in a clique with the same average relative mutant fitness advantage if and only if Let us introduce which characterizes environment heterogeneity in this structure. If , i.e. if the special deme has a stronger outflow than others, Eq. S91 reduces to: Since here , we find that the mutant should have a sufficiently stronger advantage in the special deme than in the other demes for the structure to amplify selection ( δ 1 should be sufficiently larger than δ 2 ). If , i.e. if the special deme has a weaker outflow than others, Eq. S91 reduces to: Since here , we find that the mutant should have a sufficiently stronger advantage in the other demes than in the special deme for the structure to amplify selection ( δ 2 should be sufficiently larger than δ 1 ). These results generalize our previous observations in the star and line that environment heterogeneity can allow spatially structured populations with frequent asymmetric migrations to amplify natural selection when the overall migration flow goes from a region where mutants are most beneficial to a region where they are less beneficial. 4.2 More general structures with one special deme Let us now consider more general structures with one special deme. Specifically, let us consider Dirichlet cliques with one special deme. Dirichlet cliques are spatial structures with tunable migration asymmetries on each edge of a clique, which were introduced, and studied with a homogeneous environment, in Ref. [ 36 ]. They have migration probabilities ( m 1 j , m 2 j , …, m Dj ) sampled from a Dirichlet distribution with parameters η 1 , …, η D for each j . The Dirichlet distribution has probability distribution function: With and where Γ denotes the gamma function. Random variables ( X 1 , …, X D ) sampled from this distribution have respective expectation values E( X i ) = η i / ∑ j η j . Considering ( η 1 , η 2 , …, η D ) = ( η , 1, …, 1) allows us to make deme 1 special in terms of migration outflow. In fact, the expectation values are such that 𝔼 ( m 1 i ) / 𝔼 ( m i 1 ) = η for all i , which entails that, ignoring the variability of these migration probabilities, η maps to in the highly-symmetric structure considered in the previous sections. Construction of Figure 4 In Figure 4 , we consider values of η both greater than and less than 1, in order to produce cases with either strong outflow or weak outflow from deme 1. For each value of η , we generate several (in practice, 5 × 10 3 ) Dirichlet cliques, and we associate all of them to . Note that despite this mapping to the highly-symmetric structure considered above, the migration probabilities are variable across various edges in a given Dirichlet clique, and across different Dirichlet cliques. As an illustration, Figure S9 shows example histograms for two different values of η of m 1 i for all i , with expectation value m 1 , and of m ij for all i ≠ 1 and all j , with expectation value m 2 . In Figure 4 , we also vary environment heterogeneity, via the ratio β = δ 1 /δ 2 , while keeping fixed the average mutant fitness advantage ⟨ δ ⟩ in each of the structures we consider. This leads to: We finally use the general method presented in Section 1.3 to obtain mutant fixation probability to first order in st for the Dirichlet cliques associated to a given . Comparing to the first-order mutant fixation probability for a standard clique then gives the regions of amplification of selection shown in Figure 4 . Download figure Open in new tab Figure S9: Distribution of migration probabilities in Dirichlet cliques with one special deme. Histograms of m 1 i for all i , whose expectation value is m 1 , are shown in blue, and histograms of m ij for all i ≠ 1 and all j , whose expectation value is m 2 , are shown in orange. Parameter values: Panel A: η = 3, yielding m 1 = 0.43, m 2 = 0.14 and ; Panel B: η = 6, yielding m 1 = 0.60, m 2 = 0.10 and . For each panel, 5 × 10 4 Dirichlet clique migration matrices were generated. 5 Deleterious mutants We demonstrated that environment heterogeneity can induce amplification of selection in demestructured populations on graphs, under frequent migrations. The branching process calculations that we performed so far hold under the conditions s > 0, K ≫ 1 and 1 /K ≪ st ≪ 1 [ 36 ]. In particular, under the branching process approximation, the extinction of deleterious mutants ( s < 0) is certain [ 36 ]. However, deleterious mutants have a nonzero fixation probability in finite-size populations due to genetic drift, which can be calculated under the diffusion approximation in well-mixed populations [ 110 ]. Does the amplification of selection we evidenced extend to deleterious mutations? The complete definition of amplification of selection by spatial structure is that it increases the fixation probability of beneficial mutants but decreases that of deleterious mutants, compared to a well-mixed population [ 19 ]. Here, we explore this point by using numerical simulations. In Figure S10 , we consider three different spatial structures where we demonstrated amplification of selection for s > 0, and we report the fixation probability for a range of selection coefficients that includes s < 0, obtained from stochastic simulations. In all cases where beneficial mutants have an increased fixation probability compared to the homogeneous clique with the same ⟨ δ ⟩, we also observe that deleterious mutants have a decreased fixation probability compared to the homogeneous clique with the same ⟨ δ ⟩. This suggests that the amplification of selection we evidenced extends to s < 0. Download figure Open in new tab Figure S10: Amplification of selection also holds for deleterious mutants. Mutant fixation probability versus baseline mutant fitness advantage st over a range of st centered around zero, in different spatial structures where we observed amplification for s > 0. In all cases, the homogeneous clique with the same ⟨ δ ⟩ is shown for reference. Panel A: heterogeneous star. The inset shows a magnification of the negative st region, with logarithmic vertical axis. Parameter values: as in Figure S5 , α = 2, m O = 0.1, δ C = 0.05 in the center and δ L = 0.625 in all leaves, giving ⟨ δ ⟩ = 0.5. Panel B: heterogeneous line. Parameter values: as in Figure 3 , α = 1.5, m L = 0.3, δ = 1 in the leftmost deme and δ = 0 in all others, resulting in ⟨ δ ⟩ = 0.2. Panel C: structure with one special deme for several values of environment heterogeneity β = δ 1 /δ 2 . Parameter values: as in Figure 4 , and ⟨ δ ⟩ = 0.25. Recall that for s > 0, in the branching process regime, we expect amplification for (see Section 4.1 ). Parameter values common to all panels: K = 1000, D = 5, and m = 0.15 for the clique. Each marker comes from 5 × 10 6 stochastic simulation realizations (except for the first three values of st in panel A, for which 5 × 10 7 realizations were used). 6 Impact of the number of demes on the fixation probability In this Section, we analyze the impact of varying the number D of demes on the fixation probability of a mutant in a spatially structured population on graphs with heterogeneous environments, in the branching process regime. We consider the spatial structures discussed above, namely the star, the line and highly-symmetric structures with one special deme. In all cases, we compare results to those obtained for a clique with a homogeneous environment that has the same number of demes, the same deme size and the same average mutant advantage (i.e., in practice, the same ⟨ δ ⟩). Note that, in the branching process approximation, we assume K ≫ 1, and K does not enter in our expressions of the mutant fixation probability. Hence, we do not discuss further the impact of K here, and we vary D while assuming K ≫ 1. 6.1 Star The fixation probability of a mutant in a heterogeneous star graph is given by Eq. S52 to first order in st , considering a single mutant introduced at a bottleneck in a deme chosen uniformly at random. Let us now study the impact of D on this fixation probability. For this, we focus on the case where all leaves have the same environment, but the center may have a different one, i.e., δ i = δ L for all i ∈ ℒ, but we may have δ C ≠ δ L . We vary D while keeping ⟨ δ ⟩ constant, as well as the contrast C = ( δ C − δ L ) / ⟨ δ ⟩ between the center and the leaf environment. The fixation probability of a mutant in a heterogeneous star graph then reads where we used δ C = ( CD + D − C )⟨ δ ⟩ /D and δ L = ( D − C )⟨ δ ⟩ /D . Large- D limit For large D , Eq. S97 yields the following expansion: This fixation probability tends to that in the clique, ρ = 2 ⟨ δ ⟩ st , see Eq. S19 , when D → ∞ . Furthermore, in the large- D limit, the fixation probability of a mutant is larger in the heterogeneous star than in the clique if and only if This condition is satisfied for the values of α and C considered in Figure S5 . Figure S11A shows the first-order coefficient in the expansion of the fixation probability in st , given by Eq. S97 , versus D , in a star with other parameter values matching those of Figure S5 . We observe that amplification persists but weakens when D is increased for this heterogeneous star, while suppression persists and weakens for the corresponding homogeneous star. These behaviors are well-predicted by our asymptotic expansion for large D from Eq. S98 . Download figure Open in new tab Figure S11: Impact of the number of demes on the fixation probability in the star and in the structure with one special deme. Panel A: First-order coefficient in the expansion of the fixation probability in st , given in Eq. S97 , versus the number of demes D , for a star structure. Solid lines: heterogeneous environment; dashed lines: homogeneous environment; pale lines: corresponding large- D asymptotic predictions from Eq. S98 . The case of the clique with the same ⟨ δ ⟩ is shown for reference. Parameter values: as in Figure S5 , ⟨ δ ⟩ = 0.5, α = 2, and C = − 1.125. Panel B: Same as in A, but for a highly symmetric structure with one special deme. First-order coefficient in st in Eq. S97 with the substitution and large- D asymptotic predictions from Eq. S98 are shown for heterogeneous and homogeneous environments. In both panels, the average mutant fitness advantage prefactor ⟨ δ ⟩ and the contrast C are held fixed while varying D . Parameter values: as in Figure 4 , ⟨ δ ⟩ = 0.25, , and C = 3.214 (corresponding to β = 10). 6.2 Highly-symmetric structure with one special deme The fixation probability of a mutant in a highly-symmetric structure with one special deme is given by Eq. S90 to first order in st , considering a single mutant introduced at a bottleneck in a deme chosen uniformly at random. With the substitution (see Section 4.1 ), this is the same as the fixation probability of a mutant in a heterogeneous star graph in the particular case where all leaves have the same environment, which we considered in Section 6.1 , see Eq. S97 . Hence, the conclusions we obtained there hold in this case too. In particular, Eq. S99 gives the condition for the probability of fixation to be larger than in the clique in the large- D limit, namely: Figure S11B shows the first-order coefficient in the expansion of the fixation probability in st , given by Eq. S97 with , versus D . Other parameter values match those of Figure 4 , with . As for the star (see Figure S11A ), we observe that amplification persists but weakens when D is increased for this heterogeneous structure, while suppression persists and weakens for the corresponding homogeneous structure. 6.3 Line The fixation probability of a mutant in a heterogeneous line graph is given by Eq. S62 to first order in st , considering a single mutant introduced at a bottleneck in a deme chosen uniformly at random. As done for the star in the previous paragraph, we will now study the impact of D on this fixation probability. We focus on the case where all demes have the same environment, except the most upstream deme (with respect to the migration flow direction), labeled deme 1 under the assumption that α > 1, which may have a different environment, i.e., δ i = δ 2 for all i > 1, but we may have δ 1 ≠ δ 2 . As for the star, we vary D while keeping ⟨ δ ⟩ constant. However, at first, we do not make the hypothesis that the environment contrast is constant. The fixation probability of a mutant in a heterogeneous line graph then reads Large- D limit Since our focus is on α > 1, we obtain the following leading order term for D ≫ 1: Meanwhile, in the clique with the same ⟨ δ ⟩ = [ δ 1 + ( D − 1) δ 2 ] /D , the fixation probability reads ρ = 2 st [ δ 1 + ( D − 1) δ 2 ] /D , see Eq. S19 . Hence, in the large- D limit, the fixation probability of a mutant is larger in the heterogeneous line than in the clique if and only if Convention 1: fixed average environment and contrast Let us now keep the contrast C = ( δ 1 − δ 2 ) / ⟨ δ ⟩ between the deme 1 and others constant, in addition to ⟨ δ ⟩, similarly to what we did for the star and the structure with one special deme. Eq. S101 then gives where we used δ 1 = ( CD + D − C )⟨ δ ⟩ /D and δ 2 = ( D − C )⟨ δ ⟩ /D . To leading order for D ≫ 1, this yields which tends to 0 as D → ∞, and hence becomes smaller than the fixation probability in the clique. Consistently, we note that in this case, Eq. S103 is not satisfied in the large- D limit. Hence, in this convention, the mutant fixation probability in the heterogeneous line becomes smaller than in the clique for large D , even though it can be larger for small D , as in Figure 3 . Figure S12A shows the first-order coefficient in the expansion of the fixation probability in st , given by Eq. S104 , when varying D under convention 1, in a line with other parameter values matching those of Figure 3 . We observe that amplification exists for D ≤ 10, but weakens when D is increased for this heterogeneous line, and turns into suppression for D > 10. Meanwhile, suppression increases with D for the corresponding homogeneous line. Besides, the observed trends are well-predicted by our asymptotic expansion for large D from Eq. S105 . Convention 2: fixed average environment and δ 2 /δ 1 = 1 /D 2 Let us now set δ 2 /δ 1 = 1 /D 2 , in addition to keeping ⟨ δ ⟩ constant. Eq. S101 then gives where we used δ 1 = D 3 ⟨ δ ⟩ / ( D 2 + D − 1) and δ 2 = D ⟨ δ ⟩ / ( D 2 + D − 1). To leading order for D ≫ 1, this yields which is larger than the fixation probability in the clique ρ = 2 ⟨ δ ⟩ st . Consistently, we note that in this case, Eq. S103 is satisfied in the large- D limit. Hence, in this convention, the mutant fixation probability in the heterogeneous line is larger than in the clique even for large D . Figure S12B shows the first-order coefficient in the expansion of the fixation probability in st , given by Eq. S106 , when varying D under convention 2, in a line with other parameter values matching those of Figure 3 . We observe that amplification increases with D for this heterogeneous line, in contrast with the results from convention 1 (see Figure S12A ). The large- D limit is well-predicted by Eq. S107 . The case of the corresponding homogeneous line is unchanged, and suppression increases with D . Thus, the discrepancy between the homogeneous and the heterogeneous lines in terms of fixation probability increases with D . Download figure Open in new tab Figure S12: Impact of the number of demes on the fixation probability in the line. Firstorder coefficient in the expansion of the fixation probability in st , versus the number of demes D , for a line structure, shown under two conventions that specify how the environment changes with D . Panel A uses Eq. S104 , derived under “convention 1”, where the average mutant fitness advantage prefactor ⟨ δ ⟩ and the contrast C are fixed while varying D . Solid lines: heterogeneous environment; dashed lines: homogeneous environment; pale lines: corresponding large- D asymptotic predictions from Eq. S105 . The case of the clique with the same ⟨ δ ⟩ is shown for reference. Panel B uses Eq. S106 for the heterogeneous line. This result is derived under “convention 2”, where the average mutant fitness advantage prefactor ⟨ δ ⟩ is fixed and the ratio δ 1 /δ 2 is set to 1 /D 2 while varying D . The large- D asymptotic prediction for the heterogeneous line are from Eq. S107 . Line styles are as in panel A, and the homogeneous line case is the same as in panel A. Parameter values: as in Figure 3 , ⟨ δ ⟩ = 0.2, α = 1.5 for both panels, C = 5 for panel A. 7 More general graph structures So far, we mainly focused on graphs with strong symmetries or simple structures, namely circulations, the star, the line and the fully-connected structure with one special deme. For frequent migrations, in the branching process regime, we showed that the star, the line and the structure with one special deme can all amplify selection under some environment heterogeneities, while they are suppressors of selection when the environment is homogeneous. We found that this happened when there is an overall migration flow directed from a deme where mutants are strongly advantaged toward other demes where they are less advantaged. How general is this finding? To address this question, we consider all connected graphs with five demes, in the spirit of evolutionary graph theory works [ 21 , 69 , 70 ]. There are 21 distinct such graphs, shown in Figure S13 . We compute the fixation probability in these graphs to first order in st under the branching process approximation, using our general method from Section 1.3 . Importantly, there is an infinity of ways to set the migration probabilities m ij and the mutant fitness advantage prefactors δ i in these structures. We consider three different conventions setting migration probabilities and mutant fitness advantage prefactors. They are defined below. Convention 1 We set migration probabilities m ij in order to introduce a directional flow across the structure. We first number nodes as follows. Node number 1 is the node with smallest degree. If several nodes have that same degree, we select the node whose neighbors’ degrees have the smallest sum, and if there is still ambiguity, node number 1 is selected uniformly at random among the possible ones. Next, we choose node number 2 as the neighbor of node number 1 that has the smallest degree (and if there is ambiguity, we use the same strategy as for node 1). We repeat this procedure until all nodes are labeled. We then introduce a forward migration probability m F , and a backward migration probability m B , such that α = m F /m B > 1. For each pair of nodes ( i, j ≠ i ) that is connected in the graph of interest, we set all non-zero elements of the adjacency matrix in the upper-right triangle ( i < j ) to m ij = m F if i j . Finally, we set m ii = 1 − ∑ j ≠ i m ji . We define the mutant fitness advantage prefactor δ i in each deme i to be proportional to the inverse degree of the corresponding node, multiplied by a decreasing sequence of the node index, chosen as . We further normalize the values so that the average mutant fitness advantage prefactor ⟨ δ ⟩ is the same across all structures. This procedure ensures that the overall migration flow is directed from the demes where the mutant has the strongest fitness advantage to those where this advantage is smaller. Convention 2 We set m ii = 1 / 5 for all i and m ij = 4 / (5 d j ) for each pair of nodes ( i, j ≠ i ) that is connected in the graph of interest, with d j the degree of node j . This ensures that ∑ i m ij = 1. We define the mutant fitness advantage prefactor in each deme to be proportional to the degree of the corresponding node. Values are normalized so that the average mutant fitness advantage prefactor ⟨ δ ⟩ is the same across all structures. Convention 3 Migration probabilities are the same as in convention 2. We define the mutant fitness advantage prefactor in each deme to be proportional to the inverse degree of the corresponding node. Again, values are normalized so that the average mutant fitness advantage prefactor ⟨ δ ⟩ is the same across all structures. Download figure Open in new tab Figure S13: Visualization of all distinct connected graphs with five nodes under convention 1. Each lowercase letter (a–u) labels a distinct graph. Mutant fitness advantage prefactors and migration probabilities are those from convention 1 (see text), where the overall migration flow is directed from the demes where the mutant has the strongest fitness advantage to those where this advantage is smaller. Here, ⟨ δ ⟩ = 0.5, m B = 0.12, α = m F /m B = 2. Figure S14 shows the first-order coefficient in the expansion of the fixation probability in st under the three different conventions defined above. Under convention 1, we observe that amplification of selection exists in all graphs considered, except the cycle and the clique, which have no effect (labeled t and u respectively, see Figure S13 ). Consistently, we showed above that, to first order in st , there is no amplification or suppression of selection in the clique and in the cycle, which are both circulations (see Sections 2.1.2 and 2.1.2 ). Conversely, under convention 2 and 3, we observe suppression of selection in all graphs except the cycle and the clique, and we note that this suppression tends to be stronger under convention 3 than under convention 2. Under convention 1, the overall migration flow is directed from the demes where the mutant has the strongest fitness advantage to those where this advantage is smaller. Our results suggest that this can generically lead to amplification of selection. We further observe that this amplification of selection is stronger when the deme where mutants are most advantaged has degree 1, while other nodes are strongly connected together (graphs a, b, c, e), and next, similar graphs but where the deme that most advantages mutants has degree two (graphs d, f, g, h). Besides, the Pearson correlation between Var( δ ) and the first-order coefficient of the fixation probability is 0.71, illustrating the importance of environment heterogeneity for amplification. Note that a variant of convention 1, where migration probabilities are the same but the mutant fitness advantage prefactor in deme i is set to 2 − i also leads to amplification of selection, albeit a bit more weakly (mean first-order coefficient 1.10 versus 1.17 under convention 1). Nevertheless, the results obtained under conventions 2 and 3 suggest that suppression of selection remains the most generic effect of spatial structure under frequent migrations in the branching process regime, as for homogeneous environments [ 36 ]. Specific situations, such as the overall migration flow going in the same direction as the environment gradient, are required to inverse that trend. Overall, these results show that our conclusions obtained with specific graphs extend to others. Download figure Open in new tab Figure S14: Fixation probability in all distinct connected graphs with 5 nodes, under 3 different conventions of migration and environment heterogeneities. In each panel, each marker corresponds to one of the 21 distinct connected graphs with 5 nodes shown in Figure S13 . Its color indicates the value of the first-order coefficient in the expansion of the fixation probability in st , computed numerically as described in Section 1.3 , and is labeled using the same lowercase letter as in Figure S13 . Here, ⟨ δ ⟩ = 0.5, which entails that there is amplification of selection if the first-order coefficient is larger than 2 ⟨ δ ⟩ = 1 (red) and suppression of selection if it is smaller than that (blue). Results are plotted versus the variance Var( m ) of nonzero migration probabilities and the variance Var( δ ) of the mutant fitness advantage prefactor across demes in the graph considered. Each panel corresponds to a different convention for defining migration probabilities and mutant fitness advantage prefactors in each graph, as defined in the text (in particular, panel A corresponds to convention 1, which is represented in Figure S13 ). 8 Rare migration regime In this Section, we turn to the rare migration regime, that is to the case where fixation or extinction of a type within a deme happens on faster timescales than any migrations between demes. Recall that so far, all analytical calculations were made assuming frequent migrations, in the branching process framework. However, with rare migrations, another approach allows to obtain analytical results. Indeed, given the separation of timescales that exists in this regime, one can consider that each deme is either fully mutant or fully wild-type when migrations happen. One can then study mutant fixation using a Markov chain in a coarse-grained description, where migrations can result into a change of state of demes from fully mutant to fully wild-type, and vice-versa [ 35 , 51 ]. Below, we consider the star and the line with rare migrations. We calculate their mutant fixation probabilities for heterogeneous environments, and we show that amplification of selection can be observed in this regime. Importantly, in this regime, we can address deleterious mutants as well as beneficial ones, and consider a broad range of fitness differences, while the branching process approach is restricted to beneficial mutants ( s > 0) satisfying st ≪ 1 and st ≫ 1 /K . 8.1 Star with heterogeneous environment 8.1.1 Mutant fixation probability Let us consider a star with D demes, where migrations from each leaf to the center (resp. from the center to each leaf) occur with a rate per individual m I (resp. m O ). In the rare migration regime, the state of the system can be fully described by two numbers: (1) a binary number indicating whether the center is wild-type or mutant, and (2) the number i of mutant leaves. Below, we determine the probability of fixation of a mutant in the star in the rare migration regime, starting from a fully mutant deme chosen uniformly at random. For this, we generalize the calculation of Ref. [ 35 ], which assumed the same environment in each deme (see the Supplementary Material of that paper), to the case of heterogeneous environments. We focus on the case where the center has a different environment from the leaves. We assume that all leaves have the same environment, thereby preserving the symmetry of the star, where all leaves are equivalent. Thus, the key difference compared to the homogeneous case [ 35 ] is that here, the probability of fixation of a given type (mutant or wild-type) in the center is different from that in a leaf. In practice, here, for simplicity, we will assume that this arises from the fact that the mutant has a different fitness advantage in the center and in leaves. Note that, compared to Ref. [ 35 ], we do not take into account the fact that the equilibrium deme size (or bottleneck size) of a deme can differ depending on whether the deme is mutant or wild type. Indeed, here, we consider serial dilution models, which are similar to Wright-Fisher models, and where this bottleneck size is set by a regulation, assumed to be independent from composition. (In models with individual-level birth and death probabilities and logistic regulation, such as that of Ref. [ 35 ], the steady-state deme size depends on fitness, and thus differs between mutants and wild-types, but this difference is small when fitnesses f satisfy f ≫ g , where g represents death rate. The calculation below can easily be extended to take this difference into account if necessary [ 35 ].) Upon a given migration event, the probability that the mutant type fixes in the center, if the center is initially wild-type and i leaves are mutant, reads where is the probability of fixation of one mutant in a wild-type center. Indeed, this scenario happens if there is a migration from a mutant leaf to the center, and the mutant then fixes in the center. Similarly, the probability that the wild-type fixes in the center, if the center is initially mutant and i leaves are mutant, reads where is the probability of fixation of one wild-type individual in a mutant center. Then, the probability that the number of mutant leaves increases by 1 if the center is mutant is where is the probability of fixation of one mutant in a wild-type leaf. Finally, the probability that the number of mutant leaves decreases by 1 if the center is wild-type is where is the probability of fixation of one wild-type individual in a mutant leaf. As in Ref. [ 35 ], we call (resp. ) the fixation probability of the mutant type starting from i fully mutant leaves and a wild-type center (resp. a mutant center). The fixation probabilities and satisfy the following recurrence relationship (see Refs. [ 35 , 111 ]): which yields: with where we have used migration asymmetry Let us now consider the probability that a single mutant, appearing uniformly at random in the population, fixes in the whole population. In the rare migration regime, it first fixes in the deme where it appeared, and then it spreads. Let us denote by and , respectively, the fixation probability of a single mutant in the center and in a leaf. Note that they depend on whether we consider a Moran-like model (as in Ref. [ 35 ]) or a Wright-Fisher-like model (as our dilution model introduced in [ 36 ] and used here). For consistency with the rest of the paper, we employ the serial dilution model, yielding, for a single mutant placed in the center at a bottleneck: and similarly for , but with δ L taking the place of δ C , if the mutant starts in a leaf. Here, we have denoted by δ C st and δ L st the mutant effective relative fitness advantages in the center and in a leaf, respectively. Then, we have: with and given in Eq. S113 . 8.1.2 Amplification of selection Figure 6 shows that the heterogeneous star in the rare migration regime is an amplifier of selection compared to a homogeneous circulation with the same mean mutant fitness when δ C is substantially larger than δ L , i.e. when beneficial (resp. deleterious) mutants are substantially more advantaged (resp. disadvantaged) in the center than in leaves. We observe this amplification for negative and for small absolute baseline mutant fitness advantages, corresponding to weakly deleterious and weakly beneficial mutants, in a broad range of migration asymmetries α = m I /m O . Recall that the homogeneous star is a suppressor of selection for α 1 [ 35 ], and that the amplification effect is observed under rare migrations for α > 1 when st ≲ 1 /K [ 36 ]. To better understand these results, let us consider different selection regimes, under rare migrations, and assuming s > 0. First, if 1 /K ≪ 2 δ C st ≪ 1 and 1 /K ≪ 2 δ L st ≪ 1, then the fixation probabilities in a single deme (see Eq. S117 ) reduce to and similarly in the leaf (note that is in fact exponentially suppressed). In this regime, once a mutant has fixed in a deme, the wild type is unable to retake over that deme, and fixation in the whole population always ensues. Thus, the mutant fixation probability in the star, averaged over the deme where the mutant starts, reads: Under our assumptions, we have 1 /K ≪ 2⟨ δ ⟩ st ≪ 1, and hence, we can express the difference of fixation probability between a heterogeneous and a homogeneous structure with the same ⟨ δ ⟩ as: which demonstrates that in this regime, environment heterogeneity leads to suppression of selection, and explains the observations of Figure 6B for larger st . Second, if δ C > δ L , there may be a regime where 1 /K ≪ 2 δ C st ≪ 1 but 2 δ L st ≲ 1 /K . In this case, the situation is the same as before for a mutant starting in the center: if it fixes there, it should ultimately take over the whole population. Indeed, wild-type individuals migrating to the center cannot take over due to their substantial fitness disadvantage (their fixation probability is exponentially suppressed). However, the situation is different for a mutant starting in a leaf: once it has fixed there, it may be re-invaded by wild-type individuals from the center, before the mutant can fix in the center. In a homogeneous circulation with the same ⟨ δ ⟩, if D is large enough, we will have 2 ⟨ δ ⟩ st ≲ 1 /K , as in a leaf, and thus the homogeneous circulation will not benefit from a “safe” deme for mutants: this leads to amplification in this regime. Moreover, the heterogeneous star structure with δ C > δ L means that a mutant starting in a leaf will take over the whole structure if it just takes over the center, making this structure quite favorable to mutant fixation in this regime. Takeover of the center starting from a leaf is more likely if α is large, leading to more amplification in that case. 8.2 Line with heterogeneous environment 8.2.1 Mutant fixation probability Here, we extend our derivation of mutant fixation probability in a line with rare migrations, made in the homogeneous case in Ref. [ 71 ], to heterogeneous case. Equation on the fixation probability Let us consider a line graph made of D demes in the rare migration regime. We denote by m L (respectively m R ) the migration rate to the left (respectively to the right). We introduce environment heterogeneity by considering D L demes on the left-hand side of the line where the mutant relative fitness advantage is δ L s , and D R = D − D L demes on the righthand side where the mutant relative fitness advantage is δ R s . Considering the serial dilution model, the fixation probability of one mutant (resp. wild-type) in a wild-type (resp. mutant) deme is with b ∈ { L, R }. As pointed out in Ref. [ 71 ], in the rare migration regime, the fact that mutants have to spread from the deme where the mutant appeared to other ones in order to fix entails that, at all times, there is one contiguous cluster of demes of mutants. Let us denote by ϕ i,j the probability that mutants fix in the line starting from a cluster of j − i adjacent fully mutant demes. Here, i ∈ [0, D ] indicates the position of the first mutant deme along the line, while j ∈ [0, D ] is the position of the first wild-type deme along the line, with the constraint that i ≤ j (the case j = D corresponds to a situation where there are no wild-type demes to the right of the mutant cluster). Note that exceptionally, in this derivation, demes are numbered from 0 to D − 1. The equation satisfied by the fixation probability ϕ i,j is where the indices i, j correspond respectively to the position of the first mutant (type M ) deme and the position of the next first wild type (type W ). Here, in contrast with the homogeneous case addressed in Ref. [ 71 ], the transition probabilities p 1 , p 2 , p 3 , p 4 depend on where the cluster of mutant demes is located, because of the environment heterogeneity. Specifically, they depend on the zones where the indices i, j are located, represented in Fig. S15 . Download figure Open in new tab Figure S15: Schematic of the zones where the indices i and j can vary. Each zone (A, B, C) is associated with specific values of the transition probabilities p 1 , p 2 , p 3 , and p 4 . Boundary conditions ( U, V, W, Z ) are shown. The black diagonal corresponds to mutant extinction, where ϕ i,i = 0 for all i ∈ [0, D ], while the upper-left corner corresponds to mutant fixation on the graph, with ϕ 0, D = 1. Their expressions in these different zones, illustrated in Fig. S16 , are the following: Zone A (0 < i < j < D L ): Zone B ( D L < i < j < D ): Zone C ( i D L ): with migration asymmetry α = m R /m L , and introducing , and , ( b ∈ ( L, R )). The boundary conditions are denoted by ϕ i,i = 0, ϕ 0, j = V j , ϕ i,D = U i , see Fig. S15 , where U i and V j are expressed below. Download figure Open in new tab Figure S16: Example configurations for each region A, B and C. Boundary conditions Expression of V j = ϕ 0, j : and for j = D L , The solution is The boundary conditions are A L + B L = 0 and . Branching left and right solutions imposes that . It yields with Expression of U i = ϕ i,D : and for i = D L The general solution is The boundary conditions are E L + F L = 1 and . Branching both solutions imposes that . It yields with Expression of ϕ i,j in the different zones In each zone, the fixation probability is given by [ 112 ] with with and . Zone where V a = ϕ 0, a was computed previously, but is unknown for now. We determine ϕ a ,0 and using the constraint and the property , which yields Building on Ref. [ 111 ], one can determine the solution: Finally, Zone Where , which is unknown. Using the same technique as for Zone A, we find Finally, Zone C (0 < i < D L , D L < j < D ): Equations on W and Z We would like to determine the remaining unknown boundary conditions W and Z . First, the equation on W (see Fig. S17 ) is, for all i ∈ [1, D L − 1]: with where and . Download figure Open in new tab Figure S17: Example configuration in the specific case where j = D L . Eq. S159 can be rewritten as: Similarly, the equation on Z (see Fig. S18 ) is, for all j ∈ [1, D R − 1]: with Again, we find It is convenient to rewrite Eqs. S162 and S166 in the form of a linear system: where for all 0 < i < D L and 0 < j < D R : and Download figure Open in new tab Figure S18: Example configuration in the specific case where i = D L . Conclusion Numerically solving the linear system in Eqs. S167 and S168 (using matrix inversion) provides the values of W and Z . Then, the fixation probability of mutants, starting from one mutant placed uniformly at random in the line graph is with 8.2.2 Amplification of selection In Fig. S19 , the fixation probability obtained in Eq. S178 , for a mutant in the heterogeneous line with rare migrations, is plotted as a function of the baseline relative mutant fitness advantage st . Several distinct regimes emerge as st is increased while st ≪ 1. First, for very small st , selection is suppressed compared to the homogeneous circulation. Then, for slightly larger st , we observe a small amplification of selection, provided the migration asymmetry is less than 1. Next, suppression is again observed. While these results are complex, due to the interplay of migration and environment heterogeneity and to different regimes of selection, they show that the line can amplify selection in the rare migration regime when the environment is heterogeneous. A qualitative analysis can be made along the lines of Section 8.1.2 . Here, for simplicity, and as in Figure S19 , we assume that only one deme on the left has δ L and the other ones have δ R . First, if 1 /K ≪ 2 δ L st ≪ 1 and 1 /K ≪ 2 δ R st ≪ 1, the difference of fixation probability between a heterogeneous and a homogeneous structure with the same ⟨ δ ⟩ can be expressed as for the star, see Eq. S121 , and thus, environment heterogeneity leads to suppression of selection, explaining the observations of Figure S19 for larger st . Second, if δ L > δ R , there may be a regime where 1 /K ≪ 2 δ L st ≪ 1 but 2 δ R st ≲ 1 /K . Following the same reasoning as for the star, we conclude that a mutant starting in the left-most deme will take over in the whole population if it fixes there. Meanwhile, a mutant starting elsewhere that fixes in its original deme may be re-invaded by wild-type individuals. This is more likely in the line than in our heterogeneous star, because there are more ways to get re-invaded before full fixation. Nevertheless, the benefit of having one deme where the mutant is substantially advantaged and safe from re-invasions makes the heterogeneous line slightly amplify selection in this regime, compared to a homogeneous circulation. Finally, when both δ L and δ R are very small, the benefit from having a deme where the mutant is fitter is minimal, and the heterogeneous line behaves as a suppressor of selection, as the homogeneous line [ 71 ]. Download figure Open in new tab Figure S19: Fixation probability in the heterogeneous line with rare migrations. We plot the fixation probability starting from one mutant appearing uniformly at random in the line graph, given by Eq. (S178), as a function of the baseline mutant fitness advantage st . Parameters: D = 5, D L = 1, δ L = 1, δ R = 0.1, K = 100. The case of a homogeneous circulation with the same average mutant relative fitness advantage is shown for reference. Acknowledgments This research was partly funded by the Swiss National Science Foundation (SNSF, grant No. 315230 208196, to A.-F. B.), by the Chan-Zuckerberg Initiative (CZI, to A.-F. B.), and by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 851173, to A.-F. B.). C. L. acknowledges funding by the Agence Nationale de la Recherche (grants ANR-20-CE30-0001, ANR-21-CE45-0015 and ANR-25-CE44-4822, to C. L.). Funder Information Declared European Research Council, https://ror.org/0472cxd90 , 851173 Swiss National Science Foundation, https://ror.org/00yjd3n13 , 315230_208196 Chan Zuckerberg Initiative (United States), https://ror.org/02qenvm24 Footnotes Figures 5 and S13 were revised to clarify the color scale of migration probabilities. References [1]. ↵ Noah Fierer . Embracing the unknown: disentangling the complexities of the soil microbiome . Nature Reviews Microbiology , 15 : 579 – 590 , 2017 . OpenUrl CrossRef PubMed [2]. ↵ Gregory P. Donaldson , S. Melanie Lee , and Sarkis K. Mazmanian . Gut biogeography of the bacterial microbiota . Nature Reviews Microbiology , 14 ( 1 ): 20 – 32 , 2016 . OpenUrl CrossRef PubMed [3]. Feilun Wu , Yuanchi Ha , Andrea Weiss , Meidi Wang , Jeffrey Letourneau , Shangying Wang , Nan Luo , Shuquan Huang , Charlotte T. Lee , Lawrence A. David , and Lingchong You . Modulation of microbial community dynamics by spatial partitioning . Nature Chemical Biology , 18 ( 4 ): 394 – 402 , 2022 . OpenUrl PubMed [4]. Joseph Edwards , Cameron Johnson , Christian Santos-Medellín , and Venkatesan Sundaresan . Structure, variation, and assembly of the root-associated microbiomes of rice . Proceedings of the National Academy of Sciences , 112 ( 8 ): E911 – E920 , 2015 . OpenUrl Abstract / FREE Full Text [5]. ↵ Samuel Bickel and Dani Or . Soil bacterial diversity mediated by microscale aqueous-phase processes across biomes . Nature Communications , 11 ( 116 ): 1 – 9 , 2020 . OpenUrl PubMed [6]. ↵ Esteban G. Jobbágy and Robert B. Jackson . The distribution of soil nutrients with depth: Global patterns and the imprint of plants . Biogeochemistry , 53 ( 1 ): 51 – 77 , 2001 . OpenUrl CrossRef [7]. ↵ D. Naylor , R. McClure , and J. Jansson J. Trends in microbial community composition and function by soil depth . Microorganism , 10 ( 3 ): 540 , 2022 . OpenUrl [8]. ↵ Vigdis Torsvik , Lise Øvreås , and Tron Frede Thingstad . Prokaryotic diversity–magnitude, dynamics, and controlling factors . Science , 296 ( 5570 ): 1064 – 1066 , 2002 . OpenUrl Abstract / FREE Full Text [9]. ↵ Roman Stocker . Marine microbes see a sea of gradients . Science , 338 ( 6107 ): 628 – 633 , 2012 . OpenUrl Abstract / FREE Full Text [10]. ↵ Tom Fenchel and Bland Finlay . Oxygen and the spatial structure of microbial communities . Biological reviews of the Cambridge Philosophical Society , 83 ( 4 ): 553 – 569 , 2008 . OpenUrl CrossRef PubMed [11]. ↵ Elizabeth K. Costello , Christian L. Lauber , Micah Hamady , Noah Fierer , Jeffrey I. Gordon , and Rob Knight . Bacterial community variation in human body habitats across space and time . Science , 326 ( 5960 ): 1694 – 1697 , 2009 . OpenUrl Abstract / FREE Full Text [12]. ↵ Giselle McCallum and Carolina Tropini . The gut microbiota and its biogeography . Nature Reviews Microbiology , 22 ( 2 ): 105 – 118 , 2023 . OpenUrl PubMed [13]. ↵ Nia Verdon , Ofelia Popescu , Simon Titmuss , and Rosalind J. Allen . Habitat fragmentation enhances microbial collective defence . Journal of The Royal Society Interface , 22 ( 223 ): 20240611 , 2025 . OpenUrl PubMed [14]. ↵ S. Wright . Evolution in Mendelian populations . Genetics , 16 ( 2 ): 97 – 159 , 1931 . OpenUrl FREE Full Text [15]. ↵ M. Kimura and G. H. Weiss . The Stepping Stone Model of Population Structure and the Decrease of Genetic Correlation with Distance . Genetics , 49 ( 4 ): 561 – 576 , 1964 . OpenUrl FREE Full Text [16]. ↵ T. Maruyama . On the fixation probability of mutant genes in a subdivided population . Genetics Research , 15 ( 2 ): 221 – 225 , 1970 . OpenUrl CrossRef [17]. ↵ T. Maruyama . A simple proof that certain quantities are independent of the geographical structure of population . Theoretical Population Biology , 5 ( 2 ): 148 – 154 , 1974 . OpenUrl CrossRef PubMed Web of Science [18]. ↵ N. Barton . The probability of fixation of a favoured allele in a subdivided population . Genetical Research , 62 : 149 – 157 , 1993 . OpenUrl CrossRef Web of Science [19]. ↵ Erez Lieberman , Christoph Hauert , and Martin A Nowak . Evolutionary dynamics on graphs . Nature , 433 : 312 – 315 , 2005 . OpenUrl CrossRef PubMed Web of Science [20]. K. Kaveh , N. L. Komarova , and M. Kohandel . The duality of spatial death-birth and birth-death processes and limitations of the isothermal theorem . Royal Society Open Science , 2 ( 4 ): 140465 , 2015 . OpenUrl CrossRef PubMed [21]. ↵ L. Hindersin and A. Traulsen . Most undirected random graphs are amplifiers of selection for birth-death dynamics, but suppressors of selection for death-birth dynamics . PLOS Computational Biology , 11 ( 11 ): 1 – 14 , 2015 . OpenUrl [22]. ↵ K. Pattni , M. Broom , J. Rychtář , and L. J. Silvers . Evolutionary graph theory revisited: when is an evolutionary process equivalent to the Moran process? Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences , 471 ( 2182 ): 20150334 , 2015 . OpenUrl [23]. ↵ Josef Tkadlec , Andreas Pavlogiannis , Krishnendu Chatterjee , and Martin A Nowak . Limits on amplifiers of natural selection under death-birth updating . PLOS Computational Biology , 16 ( 1 ): e1007494 , 2020 . OpenUrl PubMed [24]. B. Adlam , K. Chatterjee , and M. A. Nowak . Amplifiers of selection . Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences , 471 ( 2181 ): 20150114 , 2015 . OpenUrl [25]. ↵ Andreas Pavlogiannis , Josef Tkadlec , Krishnendu Chatterjee , and Martin A. Nowak . Amplification on Undirected Population Structures: Comets Beat Stars . Scientific Reports , 7 ( 1 ): 82 , 2017 . OpenUrl PubMed [26]. ↵ Marcus Frean , Paul B Rainey , and Arne Traulsen . The effect of population structure on the rate of evolution . Proceedings of the Royal Society B: Biological Sciences , 280 ( 1762 ): 20130211 , 2013 . OpenUrl CrossRef PubMed [27]. Laura Hindersin , Marius Möller , Arne Traulsen , and Benedikt Bauer . Exact numerical calculation of fixation probability and time on graphs . Biosystems , 150 : 87 – 91 , 2016 . OpenUrl CrossRef PubMed [28]. ↵ Josef Tkadlec , Andreas Pavlogiannis , Krishnendu Chatterjee , and Martin A Nowak . Population structure determines the tradeoff between fixation probability and fixation time . Communications biology , 2 ( 1 ): 138 , 2019 . OpenUrl PubMed [29]. ↵ Josef Tkadlec , Andreas Pavlogiannis , Krishnendu Chatterjee , and Martin A. Nowak . Fast and strong amplifiers of natural selection . Nature Communications , 12 : 4009 , 2021 . OpenUrl PubMed [30]. ↵ B. Houchmandzadeh and M. Vallade . The fixation probability of a beneficial mutation in a geographically structured population . New Journal of Physics , 13 ( 7 ): 073020 , 2011 . OpenUrl [31]. B. Houchmandzadeh and M. Vallade . Exact results for fixation probability of bithermal evolutionary graphs . Biosystems , 112 ( 1 ): 49 – 54 , 2013 . OpenUrl CrossRef PubMed [32]. G. W. Constable and A. J. McKane . Population genetics on islands connected by an arbitrary network: an analytic approach . Journal of theoretical biology , 358 : 149 – 165 , 2014 . OpenUrl CrossRef PubMed [33]. S. Yagoobi and A. Traulsen . Fixation probabilities in network structured meta-populations . Scientific Reports , 11 ( 1 ): 17979 , 2021 . OpenUrl PubMed [34]. ↵ S. Yagoobi , N. Sharma , and A. Traulsen . Categorizing update mechanisms for graph-structured metapopulations . Journal of the Royal Society Interface , 20 ( 200 ): 20220769 , 2023 . OpenUrl PubMed [35]. ↵ Löic Marrec , Irene Lamberti , and Anne-Florence Bitbol . Toward a Universal Model for Spatially Structured Populations . Physical Review Letters , 127 ( 21 ): 218102 , 2021 . OpenUrl CrossRef PubMed [36]. ↵ Alia Abbara and Anne-Florence Bitbol . Frequent asymmetric migrations suppress natural selection in spatially structured populations . PNAS Nexus , 2 : pgad392 , 2023 . OpenUrl [37]. ↵ John Burdon Sanderson Haldane . The relation between density regulation and natural selection . Proceedings of the Royal Society of London. B. Biological Sciences , 145 ( 920 ): 306 – 308 , 1956 . OpenUrl CrossRef [38]. ↵ Montgomery Slatkin . Gene Flow and Selection in a Cline . Genetics , 75 ( 4 ): 733 – 756 , 1973 . OpenUrl Abstract / FREE Full Text [39]. ↵ M. Kirkpatrick and N. H. Barton . Evolution of a species’ range . The American Naturalist , 150 ( 1 ): 1 – 23 , 1997 . OpenUrl CrossRef PubMed Web of Science [40]. ↵ Thomas Lenormand . Gene flow and the limits to natural selection . Trends in Ecology & Evolution , 17 ( 4 ): 183 – 189 , 2002 . OpenUrl [41]. ↵ Tadeusz J. Kawecki and Dieter Ebert . Conceptual issues in local adaptation . Ecology Letters , 7 ( 12 ): 1225 – 1241 , 2004 . OpenUrl CrossRef Web of Science [42]. ↵ Jitka Polechová and Nicholas H. Barton . Limits to adaptation along environmental gradients . Proceedings of the National Academy of Sciences of the United States of America , 112 ( 20 ): 6401 – 6406 , 2015 . OpenUrl Abstract / FREE Full Text [43]. ↵ Ezra J. Kottler , Erin E. Dickman , Jason P. Sexton , Nancy C. Emery , and Steven J. Franks . Draining the Swamping Hypothesis: Little Evidence that Gene Flow Reduces Fitness at Range Edges . Trends in Ecology & Evolution , 36 ( 6 ): 533 – 544 , 2021 . OpenUrl PubMed [44]. ↵ Wes Maciejewski and Gregory J. Puleo . Environmental evolutionary graph theory . Journal of Theoretical Biology , 360 : 117 – 128 , 2014 . OpenUrl PubMed [45]. Kamran Kaveh , Alex McAvoy , and Martin A. Nowak . Environmental fitness heterogeneity in the Moran process . Royal Society Open Science , 6 ( 1 ): 181661 , 2019 . OpenUrl PubMed [46]. ↵ Kamran Kaveh , Alex McAvoy , Krishnendu Chatterjee , and Martin A. Nowak . The Moran process on 2-chromatic graphs . PLOS Computational Biology , 16 ( 11 ): 1 – 18 , 2020 . OpenUrl [47]. ↵ Joachim Brendborg , Panagiotis Karras , Andreas Pavlogiannis , Asger Ullersted Rasmussen , and Josef Tkadlec . Fixation maximization in the positional Moran process . Proceedings of the AAAI Conference on Artificial Intelligence , 36 ( 9 ): 9304 – 9312 , 2022 . OpenUrl [48]. ↵ Jakub Svoboda , Josef Tkadlec , Kamran Kaveh , and Krishnendu Chatterjee . Coexistence times in the Moran process with environmental heterogeneity . Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences , 479 ( 2271 ): 20220685 , 2023 . OpenUrl [49]. ↵ Hossein Nemati , Kamran Kaveh , and Mohammad Reza Ejtehadi . Counterintuitive properties of evolutionary measures: A stochastic process study in cyclic population structures with periodic environments . Journal of Theoretical Biology , 564 : 111436 , 2023 . OpenUrl PubMed [50]. T. Nagylaki . The strong-migration limit in geographically structured populations . J Math Biol , 9 ( 2 ): 101 – 114 , 1980 . OpenUrl CrossRef PubMed Web of Science [51]. ↵ M. Slatkin . Fixation probabilities and fixation times in a subdivided population . Evolution , 35 ( 3 ): 477 – 488 , 1981 . OpenUrl CrossRef PubMed Web of Science [52]. M. C. Whitlock and N. H. Barton . The effective size of a subdivided population . Genetics , 146 ( 1 ): 427 – 441 , 1997 . OpenUrl Abstract / FREE Full Text [53]. M. Nordborg and S. M. Krone . Separation of time scales and convergence to the coalescent in structured populations . In Modern Developments in Theoretical Population Genetics: The Legacy of Gustave Malécot , pages 194 —-232. Oxford University Press, Oxford , 2002 . [54]. M. C. Whitlock . Fixation Probability and Time in Subdivided Populations . Genetics , 164 ( 2 ): 767 – 779 , 2003 . OpenUrl Abstract / FREE Full Text [55]. P. Sjödin , I. Kaj , S. Krone , M. Lascoux , and M. Nordborg . On the meaning and existence of an effective population size . Genetics , 169 ( 2 ): 1061 – 1070 , 2005 . OpenUrl Abstract / FREE Full Text [56]. Christoph Hauert , Yu-Ting Chen , and Lorens A. Imhof . Fixation times in deme structured, finite populations with rare migration . Journal of Statistical Physics , 156 : 739 – 759 , 2014 . OpenUrl CrossRef [57]. Benjamin Allen , Gabor Lippner , Yu-Ting Chen , Babak Fotouhi , Naghmeh Momeni , Shing-Tung Yau , and Martin A. Nowak . Evolutionary dynamics on any population structure . Nature , 544 ( 7649 ): 227 – 230 , 2017 . OpenUrl CrossRef PubMed [58]. Jesse Kreger , Donovan Brown , Natalia L. Komarova , Dominik Wodarz , and Justin Pritchard . The role of migration in mutant dynamics in fragmented populations . Journal of Evolutionary Biology , 36 ( 2 ): 444 – 460 , 2023 . OpenUrl CrossRef PubMed [59]. ↵ S. Lessard . An exact sampling formula for the Wright-Fisher model and a solution to a conjecture about the finite-island model . Genetics , 177 : 1249 – 54 , 11 2007 . OpenUrl Abstract / FREE Full Text [60]. ↵ C. Burden and R. Griffiths . Stationary distribution of a 2-island 2-allele Wright-Fisher diffusion model with slow mutation and migration rates . Theoretical Population Biology , 124 : 70 – 80 , 2018 . OpenUrl CrossRef PubMed [61]. ↵ Partha Pratim Chakraborty , Louis R Nemzer , and Rees Kassen . Experimental evidence that network topology can accelerate the spread of beneficial mutations . Evolution Letters , 7 ( 6 ): 447 – 456 , 2023 . OpenUrl PubMed [62]. ↵ Alia Abbara , Lisa Pagani , Celia García-Pareja , and Anne-Florence Bitbol . Mutant fate in spatially structured populations on graphs: connecting models to experiments . PLOS Computational Biology , 20 : e1012424 , 2024 . OpenUrl PubMed [63]. S. Kryazhimskiy , D. P. Rice , and M. M. Desai . Population subdivision and adaptation in asexual populations of Saccharomyces cerevisiae . Evolution , 66 ( 6 ): 1931 – 1941 , 2012 . OpenUrl CrossRef PubMed Web of Science [64]. J. R. Nahum , P. Godfrey-Smith , B. N. Harding , J. H. Marcus , J. Carlson-Stevermer , and B. Kerr . A tortoise-hare pattern seen in adapting structured and unstructured populations suggests a rugged fitness landscape in bacteria . Proc Natl Acad Sci U S A , 112 ( 24 ): 7530 – 7535 , 2015 . OpenUrl Abstract / FREE Full Text [65]. Michael T. France and Larry J. Forney . The Relationship between Spatial Structure and the Maintenance of Diversity in Microbial Populations . The American Naturalist , 193 ( 4 ): 503 – 513 , 2019 . OpenUrl CrossRef PubMed [66]. ↵ P. P. Chakraborty , L. R. Nemzer , and R. Kassen . Experimental evidence that network topology can accelerate the spread of beneficial mutations . Evolution letters , 7 : 447 – 456 , 2023 . OpenUrl PubMed [67]. ↵ J. B. S. Haldane . A mathematical theory of natural and artificial selection, part v: Selection and mutation . Mathematical Proceedings of the Cambridge Philosophical Society , 23 ( 7 ): 838 – 844 , 1927 . OpenUrl CrossRef [68]. ↵ Takeo Maruyama . Stepping stone models of finite length . Advances in Applied Probability , 2 ( 2 ): 229 – 258 , 1970 . OpenUrl [69]. ↵ L. Hindersin and A. Traulsen . Counterintuitive properties of the fixation time in network-structured populations . Journal of the Royal Society Interface , 11 : 20140606 , 2014 . OpenUrl PubMed [70]. ↵ Marius Möller , Laura Hindersin , and Arne Traulsen . Exploring and mapping the universe of evolutionary graphs identifies structural properties affecting fixation probability and time . Communications Biology , 2 ( 1 ): 137 , 2019 . OpenUrl PubMed [71]. ↵ Richard Servajean , Arthur Alexandre , and Anne-Florence Bitbol . Impact of complex spatial population structure on early and long-term adaptation in rugged fitness landscapes . Evolution , 79 : 935 – 950 , 2025 . OpenUrl PubMed [72]. ↵ L. M. Wahl , P. J. Gerrish , and I. Saika-Voivod . Evaluating the impact of population bottlenecks in experimental evolution . Genetics , 162 ( 2 ): 961 – 971 , Oct 2002 . OpenUrl Abstract / FREE Full Text [73]. ↵ J.S. LeClair and L. M. Wahl . The Impact of Population Bottlenecks on Microbial Adaptation . J Stat Phys , 172 : 114 – 125 , 2018 . OpenUrl CrossRef [74]. ↵ Jonas Cremer , Igor Segota , Chih-Yu Yang , Markus Arnoldini , John T. Sauls , Zhongge Zhang , Edgar Gutierrez , Alex Groisman , and Terence Hwa . Effect of flow and peristaltic mixing on bacterial growth in a gut-like channel . Proceedings of the National Academy of Sciences of the United States of America , 113 ( 41 ): 11414 – 11419 , 2016 . OpenUrl Abstract / FREE Full Text [75]. Jonas Cremer , Markus Arnoldini , and Terence Hwa . Effect of water flow and chemical environment on microbiota growth and composition in the human colon . Proceedings of the National Academy of Sciences of the United States of America , 114 ( 25 ): 6438 – 6443 , 2017 . OpenUrl Abstract / FREE Full Text [76]. ↵ Alinaghi Salari and Jonas Cremer . Diurnal variations in digestion and flow drive microbial dynamics in the gut . PRX Life , 3 : 023012 , 2025 . OpenUrl [77]. ↵ Darka Labavić , Claude Loverdo , and Anne-Florence Bitbol . Hydrodynamic flow and concentration gradients in the gut enhance neutral bacterial diversity . Proceedings of the National Academy of Sciences of the United States of America , 119 ( 1 ): e2108671119 , 2022 . OpenUrl CrossRef PubMed [78]. ↵ Olivia M. Ghosh and Benjamin H. Good . Emergent evolutionary forces in spatial models of luminal growth and their application to the human gut microbiota . Proceedings of the National Academy of Sciences of the United States of America , 119 ( 28 ): e2114931119 , 2022 . OpenUrl CrossRef PubMed [79]. ↵ Qiucen Zhang , Guillaume Lambert , David Liao , Hyunsung Kim , Kristelle Robin , Chih-kuan Tung , Nader Pourmand , and Robert H. Austin . Acceleration of Emergence of Bacterial Antibiotic Resistance in Connected Microenvironments . Science , 333 ( 6050 ): 1764 – 1767 , 2011 . OpenUrl Abstract / FREE Full Text [80]. Philip Greulich , Bart lomiej Waclaw , and Rosalind J. Allen . Mutational Pathway Determines Whether Drug Gradients Accelerate Evolution of Drug-Resistant Cells . Physical Review Letters , 109 ( 8 ): 088101 , 2012 . OpenUrl CrossRef PubMed [81]. Rutger Hermsen , J. Barrett Deris , and Terence Hwa . On the rapidity of antibiotic resistance evolution facilitated by a concentration gradient . Proceedings of the National Academy of Sciences of the United States of America , 109 ( 27 ): 10775 – 10780 , 2012 . OpenUrl Abstract / FREE Full Text [82]. ↵ Michael Baym , Tami D. Lieberman , Eric D. Kelsic , Remy Chait , Rotem Gross , Idan Yelin , and Roy Kishony . Spatiotemporal microbial evolution on antibiotic landscapes . Science , 353 ( 6304 ): 1147 – 1151 , 2016 . OpenUrl Abstract / FREE Full Text [83]. ↵ Yang Ping Kuo , César Nombela-Arrieta , and Oana Carja . A theory of evolutionary dynamics on any complex population structure reveals stem cell niche architecture as a spatial suppressor of selection . Nature Communications , 15 ( 1 ): 4666 , 2024 . OpenUrl PubMed [84]. ↵ Albert-László Barabási and Réka Albert . Emergence of Scaling in Random Networks . Science , 286 ( 5439 ): 509 – 512 , 1999 . OpenUrl Abstract / FREE Full Text [85]. ↵ Duncan J. Watts and Steven H. Strogatz . Collective dynamics of ‘small-world’ networks . Nature , 393 ( 6684 ): 440 – 442 , 1998 . OpenUrl CrossRef PubMed Web of Science [86]. ↵ Lluís Hernández-Navarro , Matthew Asker , Alastair M. Rucklidge , and Mauro Mobilia . Coupled environmental and demographic fluctuations shape the evolution of cooperative antimicrobial resistance . Journal of The Royal Society Interface , 20 ( 208 ): 20230393 , 2023 . OpenUrl PubMed [87]. ↵ Lluís Hernández-Navarro , Matthew Asker , and Mauro Mobilia . Eco-evolutionary dynamics of cooperative antimicrobial resistance in a population of fluctuating volume and size . Journal of Physics A: Mathematical and Theoretical , 57 : 265003 , 2024 . OpenUrl [88]. ↵ J. A. G. M. de Visser and J. Krug . Empirical fitness landscapes and the predictability of evolution . Nature Reviews Genetics , 15 ( 7 ): 480 – 490 , 2014 . OpenUrl CrossRef PubMed [89]. ↵ Suman G. Das , Muhittin Mungan , and Joachim Krug . Epistasis-mediated compensatory evolution in a fitness landscape with adaptational tradeoffs . Proceedings of the National Academy of Sciences , 122 ( 15 ): e2422520122 , 2025 . OpenUrl PubMed [90]. ↵ N. Sharma and A. Traulsen . Suppressors of fixation can increase average fitness beyond amplifiers of selection . Proc Natl Acad Sci U S A , 119 ( 37 ): e2205424119 , Sep 2022 . OpenUrl CrossRef PubMed [91]. ↵ Nikhil Sharma , Suman G. Das , Joachim Krug , and Arne Traulsen . Graph-structured populations elucidate the role of deleterious mutations in long-term evolution . Nature Communications , 16 ( 1 ): 2355 , 2025 . OpenUrl PubMed [92]. ↵ M. M. Desai and D. S. Fisher . Beneficial Mutation–Selection Balance and the Effect of Linkage on Positive Selection . Genetics , 176 ( 3 ): 1759 – 1798 , 2007 . OpenUrl Abstract / FREE Full Text [93]. B. H. Good , M. J. McDonald , J. E. Barrick , R. E. Lenski , and M. M. Desai . The dynamics of molecular evolution over 60,000 generations . Nature , 551 ( 7678 ): 45 – 50 , 2017 . OpenUrl CrossRef PubMed [94]. ↵ J. R. Blundell , K. Schwartz , D. Francois , D. S. Fisher , G. Sherlock , and S. F. Levy . The dynamics of adaptive genetic diversity during the early stages of clonal evolution . Nat Ecol Evol , 3 ( 2 ): 293 – 301 , Feb 2019 . OpenUrl PubMed [95]. ↵ P. E. Turner . Prisoner’s dilemma in an RNA virus . Nature , 398 : 441 – 443 , 1999 . OpenUrl CrossRef PubMed Web of Science [96]. M. Doebeli and C. Hauert . Models of cooperation based on the prisoner’s dilemma and the snowdrift game . Ecology Letters , 8 ( 7 ): 748 – 766 , 2005 . OpenUrl CrossRef Web of Science [97]. H. Ohtsuki , C. Hauert , E. Lieberman , and M. A. Nowak . A simple rule for the evolution of cooperation on graphs and social networks . Nature , 441 ( 7092 ): 502 – 505 , 2006 . OpenUrl CrossRef PubMed Web of Science [98]. H. Ohtsuki and M. A. Nowak . Evolutionary games on cycles . Proceedings of the Royal Society B: Biological Sciences , 273 ( 1598 ): 2249 – 2256 , 2006 . OpenUrl CrossRef PubMed Web of Science [99]. A. Traulsen and C. Hauert . Stochastic evolutionary game dynamics . Reviews of nonlinear dynamics and complexity , 2 : 25 – 61 , 2009 . OpenUrl [100]. Chaitanya S. Gokhale and Arne Traulsen . Evolutionary Multiplayer Games . Dynamic Games and Applications , 4 ( 4 ): 468 – 488 , December 2014 . OpenUrl [101]. J. Cremer , A. Melbinger , K. Wienand , T. Henriquez , H. Jung , and E. Frey . Cooperation in Microbial Populations: Theory and Experimental Model Systems . J Mol Biol , 431 ( 23 ): 4599 – 4644 , 2019 . OpenUrl CrossRef PubMed [102]. Alix Moawad , Alia Abbara , and Anne-Florence Bitbol . Evolution of cooperation in demestructured populations on graphs . Phys. Rev. E , 109 : 024307 , 2024 . OpenUrl PubMed [103]. ↵ Damien Ribière , Alia Abbara , and Anne-Florence Bitbol . Promotion of cooperation in deme-structured populations with growth-merging dynamics . bioRxiv , page 10.64898/2026.01.25.701574, 2026 . [104]. ↵ Matjaž Perc and Attila Szolnoki . Coevolutionary games – a mini review . Biosystems , 99 ( 2 ): 109 – 125 , 2010 . OpenUrl CrossRef PubMed Web of Science [105]. ↵ Matjaž Perc , Jesús Gómez-Gardeñes , Attila Szolnoki , Luis M. Floría , and Yamir Moreno . Evolutionary dynamics of group interactions on structured populations: a review . Journal of The Royal Society Interface , 10 ( 80 ): 20120997 , 2013 . OpenUrl PubMed [106]. ↵ Unai Alvarez-Rodriguez , Federico Battiston , Guilherme Ferraz de Arruda , Yamir Moreno , Matjaž Perc , and Vito Latora . Evolutionary dynamics of higher-order interactions in social networks . Nature Human Behaviour , 5 : 586 – 595 , 2021 . OpenUrl PubMed [107]. ↵ T. E. Harris . The Theory of Branching Processes . Springer , 1963 . [108]. ↵ F. Boenkost , A. Gonzalez-Casanova , C. Pokalyuk , and A. Wakolbinger . Haldane’s formula in Cannings models: the case of moderately strong selection . Journal of Mathematical Biology , 83 : 70 , 2021 . OpenUrl PubMed [109]. ↵ Cecilia Fruet , Arthur Alexandre , Alia Abbara , Claude Loverdo , and Anne-Florence Bitbol . Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations , 2026 . https://github.com/Bitbol-Lab/StructPop_Heterogeneity , DOI: 10.5281/zenodo.19396437 . OpenUrl CrossRef [110]. ↵ J. F. Crow and M. Kimura . An Introduction to Population Genetics Theory. Blackburn , 2009 . [111]. ↵ Mark Broom and Jan Rychtář . An analysis of the fixation probability of a mutant on special classes of non-directed graphs . Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences , 464 ( 2098 ): 2609 – 2627 , 2008 . OpenUrl [112]. ↵ James W Miller . A matrix equation approach to solving recurrence relations in two-dimensional random walks . Journal of applied probability , 31 ( 3 ): 646 – 659 , 1994 . OpenUrl CrossRef Web of Science View the discussion thread. Back to top Previous Next Posted April 05, 2026. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations Cecilia Fruet , Arthur Alexandre , Alia Abbara , Claude Loverdo , Anne-Florence Bitbol bioRxiv 2025.07.31.667961; doi: https://doi.org/10.1101/2025.07.31.667961 Share This Article: Copy Citation Tools Environment heterogeneity creates fast amplifiers of natural selection in graph-structured populations Cecilia Fruet , Arthur Alexandre , Alia Abbara , Claude Loverdo , Anne-Florence Bitbol bioRxiv 2025.07.31.667961; doi: https://doi.org/10.1101/2025.07.31.667961 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Evolutionary Biology Subject Areas All Articles Animal Behavior and Cognition (7633) Biochemistry (17681) Bioengineering (13890) Bioinformatics (41929) Biophysics (21446) Cancer Biology (18586) Cell Biology (25492) Clinical Trials (138) Developmental Biology (13374) Ecology (19897) Epidemiology (2067) Evolutionary Biology (24308) Genetics (15606) Genomics (22497) Immunology (17736) Microbiology (40385) Molecular Biology (17175) Neuroscience (88584) Paleontology (666) Pathology (2831) Pharmacology and Toxicology (4822) Physiology (7641) Plant Biology (15149) Scientific Communication and Education (2045) Synthetic Biology (4293) Systems Biology (9822) Zoology (2271)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-21T05:10:58.409756+00:00
License: CC-BY-NC-ND-4.0