Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 2019 Sep 23;116(41):20591–20597. doi: 10.1073/pnas.1909790116

The role of multilevel selection in host microbiome evolution

Simon van Vliet a,1, Michael Doebeli a,b
PMCID: PMC6789794  PMID: 31548380

Significance

All animals carry microbes that can affect their health by providing essential nutrients or other services. There is an active debate about how hosts and their microbes coevolve. Specifically, it is unclear when microbes can evolve altruistic traits that help their hosts but that come at a cost to themselves. Using a mathematical model, we show here that such traits can evolve but only under stringent conditions: hosts have to pass on their microbiome to their offspring, and their generation time has to be short. These conditions could potentially occur in certain insect species but are unlikely to occur in long-lived mammals. Our model thus allows us to predict in what types of hosts microbes could evolve altruistic traits.

Keywords: multilevel selection, microbiome, holobiont, hologenome

Abstract

Animals are associated with a microbiome that can affect their reproductive success. It is, therefore, important to understand how a host and its microbiome coevolve. According to the hologenome concept, hosts and their microbiome form an integrated evolutionary entity, a holobiont, on which selection can potentially act directly. However, this view is controversial, and there is an active debate on whether the association between hosts and their microbiomes is strong enough to allow for selection at the holobiont level. Much of this debate is based on verbal arguments, but a quantitative framework is needed to investigate the conditions under which selection can act at the holobiont level. Here, we use multilevel selection theory to develop such a framework. We found that selection at the holobiont level can in principle favor a trait that is costly to the microbes but that provides a benefit to the host. However, such scenarios require rather stringent conditions. The degree to which microbiome composition is heritable decays with time, and selection can only act at the holobiont level when this decay is slow enough, which occurs when vertical transmission is stronger than horizontal transmission. Moreover, the host generation time has to be short enough compared with the timescale of the evolutionary dynamics at the microbe level. Our framework thus allows us to quantitatively predict for what kind of systems selection could act at the holobiont level.


Most multicellular organisms are associated with a microbiome that can strongly affect their health (1). For example, microbes residing in the animal gut can help digest food, provide essential nutrients, condition the immune system, and even affect the mental health of their host (25). As a result, the reproductive success of a host often depends on the composition of its microbiome (6). To understand the evolution of multicellular organisms, it is thus important to understand how they coevolve with their microbiomes.

Because of these strong interdependencies, some researchers have suggested that a host and its microbiome should be viewed as a single evolving entity, a so-called holobiont (711). According to this hologenome concept, selection can potentially act directly at the level of the holobiont (7). As a result, traits that increase the overall reproductive success of a holobiont could evolve even if they are disfavored by selection at the level of the microbes.

For selection to act at the level of the holobiont, it is essential that there is an association between the genotype of a host and the composition of its microbiome (1214). Such an association could result from vertical transmission of the microbiome (i.e., when hosts pass a sample of their microbiome on to their offspring) (11, 15, 16). This vertical transmission creates heritability in microbiome compositions, allowing hosts with successful microbiomes to pass them on to their offspring. However, most hosts constantly take up microbes from their environment, weakening the heritable association between a host and its microbiome (11, 13, 15, 16). The pervasiveness of such horizontal transmission has led several researchers to conclude that selection at the holobiont level is unlikely to play a major role in nature (13, 14, 1719).

The strength of the association between a host and its microbiome is thus expected to depend on the relative importance of vertical and horizontal transmission, and recent studies have shown that organisms can vary strongly in this regard (11, 15). This raises the question for what organisms and under what conditions selection can act at the level of the holobiont. This question has been actively debated in the recent literature; however, most of this debate is based on verbal arguments (710, 13, 17, 18). In a recent model, the effects of horizontal and vertical transmission were studied for microbiomes consisting of only a single genotype (11, 20). However, by excluding variation in microbiome composition, this model could not address the question of under what conditions selection at the holobiont level can maintain traits that are disfavored by selection at the microbe level. This question is one of the most contentious points in the ongoing debate, and we address it here using a mathematical model.

We investigated under what conditions microbes can evolve a trait that provides a benefit to the host but that comes at a cost to themselves. Such a trait is disfavored by selection at the microbe level and can thus only evolve when selection can act at the holobiont level. We used a multilevel selection framework to address this question, as this allowed us to independently control the strength and direction of selection at both the microbe level and the host level. This multilevel selection framework does not explicitly incorporate the holobiont concept; however, asking under what conditions holobiont-level selection can maintain a trait that is opposed by microbe-level selection is equivalent to asking when host-level selection can maintain such a trait. Using simulations, we show that such a trait can evolve but only when vertical transmission is stronger than horizontal transmission and when the host generation time is short enough compared with the timescale of the evolutionary dynamics at the microbe level.

Results

A Simple Model for Host–Microbe Evolutionary Dynamics.

We extended a previously developed multilevel selection framework (21) to investigate under what conditions selection can act at the host level. Throughout, we assumed the simplest possible dynamics to reduce the number of model parameters. We consider a microbiome consisting of 2 genotypes: helper cells and neutral cells (Fig. 1). Helper and neutral cells are identical except for 1 trait: helper cells increase the reproductive success of their host, but this comes at a cost to their own growth rate. We assume that microbes have a constant birth rate of β for the neutral cells and (1γ)β for the helper cells, where γ is the cost of helping. We expect that, within a given host, microbes can grow to a maximal population size, and thus assume that death rates are density dependent (Fig. 1). Helper cells can transition into neutral cells and vice versa due to mutations. At each microbial division event, there is thus a probability μ that a microbe mutates to the other type. Finally, we assume that microbes can only grow within the host environment, and we thus only keep track of the microbial densities within each host. Microbiomes are characterized by the frequency of helper cells fi (helper frequency in short). In particular, we often show the mean helper frequency in the total host population f=1HiHfi.

Fig. 1.

Fig. 1.

We consider a population of H hosts each carrying a microbiome consisting of 2 types: helper xi and neutral yi cells. These types are identical except that helper cells pay a cost γ for increasing the host reproductive success. Newborn hosts are colonized by a sample of their parents microbiome, which has fixed density n0 and a frequency of helper cells drawn from a truncated normal distribution centered on the parent’s helper frequency fp and with variance σ2. The strength of this vertical transmission Tvert=n0k is given by the ratio of the size of this sample to the microbial carrying capacity k=βδ. There is a constant exchange of microbes between hosts with rate θ. The strength of horizontal transmission Thoriz=θβ is given by the ratio of the migration rate to the microbial birth rate. Microbes have a constant birth rate of (1γ)β for helper cell and β for neutral cell, a density-dependent death rate δni, and a constant mutation rate μ between helper and neutral cells. Hosts have a birth rate that increases linearly with the density of helper cells (with slope sb) and a death rate that decreases linearly with density of helper cells (with slope sd); moreover, the death rate increases linearly with the number of hosts. GH measures the number of microbe generations per host generation. Microbiomes are described by their density ni=xi+yi and frequency of helper cells fi=xi/ni.

Helper cells increase the reproductive success of their host: for example, by producing an essential nutrient or by providing protection against pathogenic bacteria. As a result, helper cells can either increase host birth rates or decrease host death rates. We assume that host birth rates increase linearly with the density of helper cells from β/GH in the absence of helper cells to (1+sb)β/GH when a host is fully occupied by helper cells. The parameter sb thus controls how strongly host birth rates depend on their microbiome. Similarly, we assume that host death rates decrease linearly with the density of helper cells, with the parameter sd controlling the strength of this dependence (Fig. 1). Throughout the main text, we only consider the case where helper cells increase host birth rates without affecting host death rates (i.e., we assume that sd=0). However, we obtained similar results when helper cells decreased host death rates instead (SI Appendix, Fig. S2). To maintain bounded host population sizes, we assume that host death rates are density dependent (Fig. 1). The generation times of hosts and microbes typically differ strongly, and as a result, we expect evolutionary change to happen at different timescales for hosts and microbes. The parameter GH in our model controls how many microbial generations occur within each host generation.

We explicitly incorporate the 2 modes of transmission, vertical and horizontal, in our model (Fig. 1). When a host gives birth, it passes a sample of its microbiome on to its offspring. The strength of vertical transmission Tvert=n0k is measured as the size of this sample n0 relative to the microbial carrying capacity k. We expect that vertical transmission is subject to sampling variation: the helper frequency in newborn hosts will likely differ slightly from that in their parents. We modeled sampling variation using a distribution in which we could independently control the degree of variance, allowing us to directly test the importance of sampling variation. Specifically, we assume that the helper frequency in a newborn host is drawn from a truncated normal distribution centered on the helper frequency of the parent and with a constant variance of σ2. Throughout their lives, hosts exchange microbes by horizontal transmission. We assume that microbes migrate between hosts at a constant rate and that migration is random (i.e., no spatial structure). The strength of horizontal transmission Thoriz=θβ is measured as the migration rate θ relative to the microbial growth rate β.

Host-Level Selection Can Maintain Helper Cells.

Microbes do not receive any direct benefit from helping their host: helper cells grow slower than neutral cells but have the same death rate; consequently, microbiomes consisting of only helper cells also reach a lower steady-state density than microbiomes consisting of only neutral cells. Helper cells are thus expected to go extinct over evolutionary time in the absence of host-level selection. Indeed, our model shows that helper cells rapidly decrease in frequency when host birth rates are independent of microbiome composition (sb=0) (Fig. 2B). Helper cells are only maintained at a low frequency (set by mutation–selection balance) due to constant transitions from neutral cells.

Fig. 2.

Fig. 2.

Selection at the host level can maintain helper cells. (A) Within each host, helper cells (blue) decrease in frequency, because microbe-level selection favors the faster-growing neutral cells (red). However, helper cells can increase in frequency due to host-level selection: hosts with more helper cells have more offspring. These offspring in turn also have high helper frequencies because of vertical transmission. (B) Helper cells are only maintained at high frequencies when host birth rates depend on microbiome composition (sb=1); the average frequency of helper cells over the total host population (mean helper frequency f) is shown. (C) Frequency of helper cells fi varies widely between hosts; the distribution is shown for t = 5,000. Parameters as shown in SI Appendix, Table S1, except for GH=10 and KH=5,000.

Helper cells could potentially be maintained by host-level selection when they increase host reproductive success (or decrease host death rates). The frequency of helper cells decreases within each host due to selection at the microbe level; however, the frequency of helper cells within the total host population could increase, because hosts with many helper cells have more offspring and pass on their microbiome (Fig. 2A). Indeed, our model shows that helper cells can increase to high frequencies when host birth rates depend on the microbiome composition (sb=1) (Fig. 2 B and C).

Host-Level Selection Can only Act under Strong Constraints.

We performed an extensive exploration of the model parameter space to investigate when selection at the host level can maintain a trait that is disfavored by selection at the microbe level (SI Appendix, Fig. S1). We found that 2 conditions have to be met (Fig. 3): 1) vertical transmission Tvert has to be strong compared with horizontal transmission Thoriz, and 2) the host generation time τH has to be short enough compared with the timescale τM of the evolutionary dynamics at the microbe level (i.e., the timescale over which helper frequencies decrease within a single host). These 2 conditions can be understood as follows: when vertical transmission is weak compared with horizontal transmission, all hosts will quickly converge to the same microbiome composition. As a result, there is no longer any variation in helper frequencies between hosts, and without this variation, there can be no host-level selection. Likewise, if helper cells within a host have gone extinct before a host can reproduce (due to microbe-level selection), there is again no variation between hosts for selection to act on.

Fig. 3.

Fig. 3.

Selection can only act at the host level under stringent conditions. The mean helper frequency is shown as a function of the timescale of the evolutionary dynamics at the microbe level τM=1βγ relative to the host generation time τH=GHβ and the ratio of vertical Tvert=n0k to horizontal transmission Thoriz=θβ. Two different levels of sampling variance are shown: the SD of the sampling distribution σ is 0.02 in A and 0.1 in B; A, Upper and B, Upper show the results of single simulations, and A, Lower and B, Lower show the same data but averaged within discrete bins. We varied the cost γ and migration rate θ to obtain different values of τM/τH and Tvert/Thoriz, respectively; all other parameters are as shown in SI Appendix, Table S1.

Two additional factors are important in determining when host-level selection can maintain helper cells: the region of parameter space in which helper cells can reach high frequencies is larger when the sampling variance is higher (Fig. 3) and when the host birth rate depends more strongly on the microbiome composition (SI Appendix, Fig. S1). In the next 2 sections, we will explore these requirements in more detail.

Heritability of Microbiome Composition Decays with Time.

For host-level selection to maintain helper cells, the microbiome composition needs to be heritable. At birth, a host is colonized by vertically transmitted cells, but during its life, it acquires cells by horizontal transmission at a constant rate (Fig. 4A). Consequently, the proportion of vertically transmitted cells decreases over time (Fig. 4B). The microbiome of a host thus shifts from being dominated by microbes obtained from its parent to being dominated by microbes obtained from the environment (i.e., the other hosts in the population). In other words, the degree to which community composition is heritable decreases over time.

Fig. 4.

Fig. 4.

Microbiome composition is only heritable when vertical transmission dominates horizontal transmission. (A) Horizontally acquired cells eventually dominate over vertically acquired cells. The densities of the total population and of vertically and horizontally acquired cells were calculated analytically (SI Appendix, Eqs. S7 and S8) and are shown for the case Tvert=2Thoriz. (B) Frequency of vertically transmitted cells decreases over time in a nonlinear way. The frequency of vertically inherited cells was calculated analytically (SI Appendix, Eq. S8) and is shown for 4 different ratios of vertical to horizontal transmission. Microbiome composition is heritable (i.e., dominated by vertically transmitted cells) for long periods when vertical transmission dominates (dark blue) and for short periods when horizontal transmission dominates (light blue). (C) Heritability timescale τher is short when vertical transmission Tvert is weak compared with horizontal transmission Thoriz. The heritability timescale τher is defined as the time after birth at which the frequency of vertically acquired cells reaches 0.5 and was calculated numerically (SI Appendix, Eq. S8).

We define the heritability timescale τher as the time after host birth at which the frequency of cells that entered the host by vertical transmission reaches 50%. In other words, when t>τher, the microbiome composition has become dominated by microbes obtained from the environment. We used our model to calculate this timescale numerically, and we derived an analytical approximation (SI Appendix, section 1). We found that it depends in a nonlinear way on the relative strength of horizontal and vertical transmission (Fig. 4 B and C). This nonlinearity is caused by the nonlinear growth dynamics of the microbes: horizontally acquired cells that arrive directly after birth change the microbiome composition to a much larger extent than those arriving when the microbiome has reached its steady-state density. When horizontal transmission is dominant (Thoriz>Tvert), the microbiome composition resembles that of the environment long before the microbiome reaches its steady-state density, and heritability is rapidly lost (τher<1) (Fig. 4 B and C). In contrast, when vertical transmission dominates, the microbiome reaches its steady-state density before horizontally acquired cells can take over. As a result, heritability can be maintained over long time periods that are proportional to the inverse of the migration rate (τher1/θ) (Fig. 4 B and C and SI Appendix, section 1).

Maintenance of Helper Cells.

Within an isolated host, helper cells always decrease in frequency due to microbe-level selection. We can analytically show that this decrease follows a sigmoidal curve with a timescale that is inversely proportional to the cost of helping: τM=1/(βγ) (Fig. 5A and SI Appendix, section 2). For helper cells to be maintained by host-level selection, hosts have to give birth before all helper cells are lost. The host generation time τH=GH/β thus has to be short enough compared with the timescale τM of the evolutionary dynamics at the microbe level (Fig. 5B). The bigger the difference in generation time between hosts and microbes, the lower the cost of helping has to be in order to maintain helper cells (Fig. 5B).

Fig. 5.

Fig. 5.

Host generation time has to be short enough compared with the timescale of the evolutionary dynamics at the microbe level. (A) Within a given host, the frequency of helper cells decreases following a sigmoidal curve with timescale τM=1/(γβ). The frequency of helper cells was calculated analytically (SI Appendix, Eq. S23) for an isolated host (no migration) and is shown for 3 different costs γ starting from an initial frequency of 0.9 (solid lines) or 0.3 (dashed lines). (B) Host-level selection can only maintain helper cells when the host generation time τH=GH/β is short enough compared with the timescale of the evolutionary dynamics at the microbe level τM. This ratio τM/τH=1/(γGH) depends on the cost of cooperation γ and the number of microbe generations per host generation GH. Higher sampling variance σ2 allows for host-level selection over a larger region of parameter space but lowers the maximal value of the helper frequency. We varied the cost γ to obtain different values of τM/τH, and all other parameters are as shown in SI Appendix, Table S1.

Sampling variation is an essential component in our model, as it is the only process that can increase the frequency of helper cells over evolutionary time. Within an isolated host (no migration), helper frequencies always decrease over time due to microbe-level selection. As a result, newborn hosts inherit a helper frequency that is lower than the helper frequency with which their parents were born. Over many host generations, helper cells would thus disappear. Migration between hosts cannot stop this process; migration can redistribute helper cells between hosts but cannot increase their total number. However, sampling variation can prevent helper cells from being lost; it can create some offspring that have helper frequencies that are higher than those of their parents. To maintain helper cells over evolutionary time, sampling variation has to be strong enough to offset the decrease in helper frequency that occurred during a parent’s lifetime in a sufficiently large number of offspring. The higher the cost of helping, the more the helper frequency decreases during a parent’s lifetime, and the higher the sampling variation has to be in order to maintain helper cells (Fig. 5B). When there is strong sampling variance, helper cells can be maintained at intermediate frequencies even in the absence of host-level selection as long as the cost of helping is low (SI Appendix, Fig. S3).

High sampling variation allows host-level selection to maintain helper cells in a larger region of parameter space, but it lowers the maximally achieved helper frequency (Fig. 5B). This is because the helper frequency is bounded between 0 and 1. When a parent already has a high helper frequency, the frequency in its offspring can increase by only a small amount but can decrease by a large amount. As a result, the distribution of helper frequencies in newborn hosts becomes skewed toward lower helper frequencies, and this decreases its average value. In regions of parameter space where the average helper frequency is high, increasing sampling variance increases the skew in the distribution of helper frequencies in newborn hosts. As a result, the average helper frequency in the total population has a lower steady-state value in this region (Fig. 3B and SI Appendix, Fig. S1). For a similar reason, increasing sampling variance will increase the average helper frequency in regions of parameter space where the average helper frequency is low (Fig. 3B and SI Appendix, Fig. S1). Although sampling variation at host birth is essential in our model, other mechanisms can in principle be envisaged to maintain helper cells. The essential requirement for such mechanisms is that they can increase the frequency of helper cells in newborn hosts compared with their parents. For example, higher rates of vertical transmission of helper cells compared with neutral cells could also generate such a scenario.

So far, we have only considered the scenario where microbe- and host-level selections act in opposite directions. However, host-level selection can also play a role when selection at both levels act in the same direction: when helper cells grow faster than neutral cells, they will always increase in frequency; however, host-level selection can increase the speed with which helper cells fix in the population (SI Appendix, Fig. S5).

Helping Behavior Can Evolve De Novo.

So far, we have assessed under what conditions host-level selection can maintain preexisting microbial types that provide a costly benefit to their host. However, we have not yet addressed the question of how such costly traits could evolve in the first place. Here, we develop a second model to address this question.

We consider a single microbial species characterized by a continuous trait, which is called the cooperative investment, that determines how much help is provided to the host. The birth rate of the microbes decreases linearly with the level of investment (i.e., the cost increases linearly), while the birth rate of the hosts increases linearly with the total cooperative investment of its microbiome. Every time a microbe divides, there is a small probability that its offspring will mutate to a slightly higher or lower investment level. Otherwise, the model dynamics are the same as in the 2 cell-type model discussed previously (Materials and Methods has details).

The conditions under which high cooperative investment levels can evolve are similar to the ones required to maintain helper cells: vertical transmission needs to be strong compared with horizontal transmission, and the cost of cooperation has to be low compared with the inverse of the host generation time (γ<1/GH) (SI Appendix, Fig. S4). When these conditions are met, cooperative investment levels can increase rapidly to close to their maximal value of 1 (Fig. 6A). The distribution of investment levels within the global microbial population is sharply peaked, with most microbes having an investment level between 0.8 and 1 (Fig. 6B). As a result of host-level selection, microbes can thus evolve to express a trait that benefits their host but that reduces their own growth rate.

Fig. 6.

Fig. 6.

Costly microbial traits can evolve de novo by host-level selection. Microbes have a continuous trait called the cooperative investment; microbial growth rates decrease linearly with investment, while host growth rates increase linearly with the total cooperative investment of its microbiome. (A) Average level of cooperative investment in the global microbial population increases rapidly over time. (B) The distribution of cooperative investment levels at steady state is sharply peaked at high investment levels. Parameters are as shown in SI Appendix, Table S2.

Discussion

We found that traits that are costly to a microbe but beneficial to their host can evolve by selection at the host level but only under stringent conditions. We derived these conditions using simple dynamics for both hosts and microbes; however, the framework that we developed can easily be extended to incorporate more complex dynamics at either level. Moreover, we expect that our conclusions are qualitatively robust to relaxing many of our assumptions. Although we considered only a 2-species microbiome, our results would also hold in a more complex system as long as the other members of the microbiome interact in an equal way with helper and neutral cells. Moreover, selection at the level of the host always requires that microbes providing the benefit have not gone extinct by the time that the host replicates, and we can show (SI Appendix, section 2) that this timescale generally depends on the cost of cooperation. Finally, the degree to which the community composition is heritable generally decays with time as long as there is non-0 horizontal transmission (SI Appendix, section 1).

Throughout, we assumed that hosts are passive players. Many hosts, however, do strongly interact with their microbiome (19): the immune system can control the growth of microbes (22), and hosts can reward helpful microbes (23). Such interactions could facilitate host-level selection. For example, horizontal transmission could be much higher when hosts can filter incoming migrants based on their identity (24). Likewise, hosts could offset the cost incurred by the microbes by providing directed benefits to helper cells (23). Our framework can readily be extended to incorporate such host–microbe interactions, providing interesting opportunities for future work. In our model, we ignored host effects to get insights into when host-level selection can act by itself. By extension, this also reveals when host effects are likely to be essential. Moreover, we expect that, in many biological systems, hosts could not tell the difference between helper and neutral cells: for example, because they only differ by a small number of mutations. In this scenario, the host would interact identically with both helper and neutral cells and our model would directly apply, because in this case, all host effects could be absorbed by adjusting our model parameters.

Our model suggests that selection at the host level and in extension, at the holobiont level, could be of importance in nature but only under rather restrictive circumstances: host generation times have to be short enough relative to the timescale of the evolutionary dynamics at the microbe level, and vertical transmission has to dominant over horizontal transmission. These conditions could potentially be met in certain short-lived insect species but are unlikely to be fulfilled in long-lived mammals. For most species, host-level effects would be essential to allow for selection at the level of the holobiont. Although other authors have come to similar conclusions (13, 14, 1719), the lack of a quantitative framework prevented direct predictions for when host-level selection could be of importance. The mathematical framework that we developed here provides some tools to start exploring how host and microbiomes coevolve in natural settings.

Materials and Methods

Microbial Dynamics.

We consider a population of H(t) hosts and model the density of helper cells xi(t) and neutral cells yi(t) in each host i using differential equations. The birth rate is β for neutral cells and (1γ)β for helper cells, where γ is the cost of providing a benefit to the host. At each microbe birth event, there is a small probability μ that helper cells mutate into neutral cells and vice versa. The death rate is δni(t) for both helper and neutral cells, where ni(t)=xi(t)+yi(t) is the total microbial density in host i. With these assumptions, the microbial dynamics are given by

dxidt=(1μ)(1γ)βxi+μβyiδnixi [1]
dyidt=(1μ)βyi+μ(1γ)βxiδniyi. [2]

Host Dynamics.

Hosts dynamics are modeled using an individual-based approach. The birth rate Bi of host i increases linearly with the density of helper cells: Bi=b1+sbxik; the helper density is normalized by the microbial carrying capacity k to ensure that host birth rates remain bounded. The death rate Di increases linearly with the number of hosts and decreases linearly with the density of helper cells in the host: Di=d1sdxikH(t). The constants sb and sd control how strongly host reproductive success depends on microbiome composition and thus, control the strength of selection at the host level. Throughout the main text, we use sd=0. It is convenient to rewrite these rates as

Bi=βGH1+sbxik [3]
Di=βGH1sdxikH(t)KH, [4]

where GH=β/b is the number of microbial generations per host generation and KH=b/d is the host carrying capacity.

Vertical Transmission.

When a new host is born, it is seeded with a microbiome of fixed total density n0 and a helper frequency f0=x0n0, which is drawn from a truncated normal distribution with constant variance σ2 and a mean value equal to the helper frequency in its parent fp:

f0N(fp,σ2)with constrained0<f0<1. [5]

Horizontal Transmission.

Microbes leave a host at a fixed rate θ and are distributed evenly among all other hosts in the population. The inflow of helper cells into host i is given by jiHθH1xj, where θxj is the number of helper cells leaving hosts j and 1/(H1) is the fraction of those cells ending up in host i. As horizontal transmission acts continuously, we modify the dynamical equations for the microbiome dynamics (Eqs. 1 and 2) by including the terms for the inflow and outflow of microbes:

dxidt=(1μ)(1γ)βxi+μβyiδnixiθxi+jiHθxjH1 [6]
dyidt=(1μ)βyi+μ(1γ)βxiδniyiθyi+jiHθyjH1. [7]

Model Parameters.

We can reduce the number of independent parameters in our model by measuring time in units of the inverse microbial birth rate 1/β and by measuring microbial densities in units of their carrying capacity k=β/δ. In all simulations, we thus arbitrarily set β=δ=k=1.

Model Implementation.

The model was solved numerically using code implemented in Python [code available on Zenodo (25)]. We updated the microbial densities and host birth and death rates using a coarse time step Δt and used a fine time step δtΔt to implement host birth and death events assuming constant rates. We used this procedure to keep computation times reasonably short and confirmed that we obtain identical results if we update microbial dynamics and hosts rates every δt time step. At each time step Δt, we performed the following steps.

  • 1)

    Calculate birth (Bi) and death (Di) rates for each host.

  • 2)

    Iterate with time step δt; in each δt time step, at maximum a single host-level event (birth or death) can occur. If there are H hosts in the populations, there are 2H+1 possible events that can happen in this time step: any of the H hosts can reproduce, and host i reproduces with probability P(bi)=Biδt; any of the H hosts can die, and host i dies with probability P(di)=Diδt; or no host event happens, with probability P=1iHP(bi)+P(di). We randomly select 1 of these possible events based on their relative probabilities. If a host gives birth, we add a new host to the population with a microbiome of density n0 and helper frequency f0 given by Eq. 5. Newborn hosts cannot give birth or die until the next Δt time step. If a host dies, we remove that host and its microbiome from the population.

  • 3)

    Update microbiome state using Euler method: xt+1=xt+Δtgx(xt,yt) and yt+1=yt+Δtgy(xt,yt), where gx and gy are given by the right-hand site of Eqs. 6 and 7, respectively.

The time step δt was dynamically adjusted to the number of hosts in the population such that the probability of having more than 1 host event per time step was less than 0.01. We ran the simulations until the helper frequency reached its steady-state level; this condition was evaluated automatically by requiring that the variation in helper frequency over a moving time window (104 time units) was below a threshold value. All simulation results were averaged over a moving time window of 1,000 time units.

Continuous Investment Model.

Next, we consider a model where the degree to which a microbe helps its host is a continuous trait: the cooperative investment 0<w<1. The investment level was discretized into N=100 equally sized bins; the investment level in bin j is wj=(2j1)/(2N), j=(1,2,,N). We tracked xij(t), the density of microbes with investment level j in host i, over time. Each host is characterized by the total microbial density ni=jNxij and investment distribution (xi1,xi2,,xiN). Microbes with investment level wj have a birth rate of (1wjγ)β. With probability (1μ), their offspring inherits the same investment level, and with probability μ/2, their offspring mutates to an investment level of wj±ϵ. We set ϵ=1/N so that mutations only happen between adjacent investment bins. There is a density-dependent death rate δni and constant migration between hosts with rate θ. The dynamics for xij(t) are then given by:

dxijdt=(1μ)(1wjγ)βxij+μ2(1wj1γ)βxij1+μ2(1wj+1γ)βxij+1δnixijθxij+kiHθxkjH1, [8]

where xi0=xiN+1=0. The host birth and death rates are given by

Bi=βGH(1+sbW) [9]
Di=βGHH(t)KH, [10]

respectively, where W=jNxijwjk is the cumulative investment of all microbes in host i (the normalization by the microbial carrying capacity k ensures that 0<W<1). Vertical transmission is implemented by randomly drawing N0 discrete samples from the parent investment distribution with probabilities P(w=wj)=xpj/np. The resulting offspring investment distribution is normalized to a total density of n0. The model is implemented identically to the 2-type model described above but now using Eq. 8 to update microbiome state and Eqs. 9 and 10 to calculate host rates.

Supplementary Material

Supplementary File

Acknowledgments

We thank Alma Dal Co, Gil Henriques, and the other members of the laboratory of M.D. for comments and discussion. S.v.V. was funded by Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung Postdoc.Mobility Fellowship 175123, and M.D. was supported by Natural Sciences and Engineering Research Council of Canada Discovery Grant 219930.

Footnotes

The authors declare no conflicts of interest.

This article is a PNAS Direct Submission.

Data deposition: Code implemented in Python is available on Zenodo (https://doi.org/10.5281/zenodo.3358236).

This article contains supporting information online at www.pnas.org/lookup/suppl/doi:10.1073/pnas.1909790116/-/DCSupplemental.

References

  • 1.McFall-Ngai M., et al. , Animals in a bacterial world, a new imperative for the life sciences. Proc. Natl. Acad. Sci. U.S.A. 110, 3229–3236 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Honda K., Littman D. R., The microbiota in adaptive immune homeostasis and disease. Nature 535, 75–84 (2016). [DOI] [PubMed] [Google Scholar]
  • 3.Schroeder B. O., Bäckhed F., Signals from the gut microbiota to distant organs in physiology and disease. Nat. Med. 22, 1079–1089 (2016). [DOI] [PubMed] [Google Scholar]
  • 4.Postler T. S., Ghosh S., Understanding the holobiont: How microbial metabolites affect human health and shape the immune system. Cell Metabol. 26, 110–130 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Vuong H. E., Yano J. M., Fung T. C., Hsiao E. Y., The microbiome and host behavior. Annu. Rev. Neurosci. 40, 21–49 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Gould A. L., et al. , Microbiome interactions shape host fitness. Proc. Natl. Acad. Sci. 115, E11951–E11960 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Zilber-Rosenberg I., Rosenberg E., Role of microorganisms in the evolution of animals and plants: The hologenome theory of evolution. FEMS Microbiol. Rev. 32, 723–735 (2008). [DOI] [PubMed] [Google Scholar]
  • 8.Bordenstein S. R., Theis K. R., Host biology in light of the microbiome: Ten principles of holobionts and hologenomes. PLoS Biol. 13, e1002226 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Theis K. R., et al. , Getting the hologenome concept right: An eco-evolutionary framework for hosts and their microbiomes. mSystems 1, e00028–16 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Rosenberg E., Zilber-Rosenberg I., The hologenome concept of evolution after 10 years. Microbiome 6, 78 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Roughgarden J., Gilbert S. F., Rosenberg E., Zilber-Rosenberg I., Lloyd E. A., Holobionts as units of selection and a model of their population dynamics and evolution. Biol. Theory 13, 44–65 (2018). [Google Scholar]
  • 12.Godfrey-Smith P., Darwinian Populations and Natural Selection (OUP Oxford, 2009). [Google Scholar]
  • 13.Douglas A. E., Werren J. H., Holes in the hologenome: Why host-microbe symbioses are not holobionts. MBio 7, e02099-15 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Stencel A., Wloch-Salamon D. M., Some theoretical insights into the hologenome theory of evolution and the role of microbes in speciation. Theor. Biosci. 137, 197–206 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Engel P., Moran N. A., The gut microbiota of insects – diversity in structure and function. FEMS Microbiol. Rev. 37, 699–735 (2013). [DOI] [PubMed] [Google Scholar]
  • 16.Moeller A. H., Suzuki T. A., Phifer-Rixey M., Nachman M. W., Transmission modes of the mammalian gut microbiota. Science 362, 453–457 (2018). [DOI] [PubMed] [Google Scholar]
  • 17.Moran N. A., Sloan D. B., The hologenome concept: Helpful or hollow? PLoS Biol. 13, e1002311 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Skillings D., Holobionts and the ecology of organisms: Multi-species communities or integrated individuals? Biol. Philos. 31, 875–892 (2016). [Google Scholar]
  • 19.Foster K. R., Schluter J., Coyte K. Z., Rakoff-Nahoum S., The evolution of the host microbiome as an ecosystem on a leash. Nature 548, 43–51 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Roughgarden J., Holobiont evolution: Model for vertical vs. horizontal microbial colonization. bioRxiv:465310 (12 December 2018).
  • 21.Simon B., Fletcher J. A., Doebeli M., Towards a general theory of group selection. Evolution 67, 1561–1572 (2013). [DOI] [PubMed] [Google Scholar]
  • 22.Brown E. M., Sadarangani M., Finlay B. B., The role of the immune system in governing host-microbe interactions in the intestine. Nat. Immunol. 14, 660–667 (2013). [DOI] [PubMed] [Google Scholar]
  • 23.Schluter J., Foster K. R., The evolution of mutualism in gut microbiota via host epithelial selection. PLoS Biol. 10, e1001424 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Kaltenpoth M., et al. , Partner choice and fidelity stabilize coevolution in a cretaceous-age defensive symbiosis. Proc. Natl. Acad. Sci. U.S.A. 111, 6359–6364 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.van Vliet S., Doebeli M., Code for: The role of multilevel selection in host microbiome evolution (version v1.0). Zenodo. 10.5281/zenodo.3358236. Deposited 1 August 2019. [DOI] [PMC free article] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary File

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES