Skip to main content
Advertisement
  • Loading metrics

Resource diversity and supply drive colonization resistance

  • Ethan S. Rappaport,

    Roles Conceptualization, Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing

    Affiliations Mathematics Department, Boston College, Chestnut Hill, Massachusetts, United States of America, Biology Department, Boston College, Chestnut Hill, Massachusetts, United States of America

  • Renato Mirollo,

    Roles Funding acquisition, Investigation, Supervision, Visualization, Writing – review & editing

    Affiliation Mathematics Department, Boston College, Chestnut Hill, Massachusetts, United States of America

  • Babak Momeni

    Roles Conceptualization, Funding acquisition, Investigation, Methodology, Supervision, Visualization, Writing – review & editing

    momeni@bc.edu

    Affiliation Biology Department, Boston College, Chestnut Hill, Massachusetts, United States of America

Abstract

The human microbiota plays a key role in resisting the colonization of pathogenic microbes, a process known as colonization resistance. However, there is a need to better understand the mechanisms by which colonization of invaders is blocked. Environmental resource supply and resource diversity are essential factors in forming these communities but testing how the environment affects resistance in natural communities is challenging. Here we use a consumer-resource model and computational invasion simulations to investigate how environmental resource diversity and supply affect the richness-resistance relationship, overall colonization resistance, and cross-feeding dynamics. We find a non-monotonic trend between species richness and resistance, shaped by environmental characteristics. Our results show that colonization resistance is negatively correlated with both resource supply and resource diversity except when resource supply is limited. Lastly, we observe that cross-feeding weakens colonization resistance by increasing the diversity of available resources, but this trend disappears with limited resource supply. This work provides insights about colonization resistance in microbial communities of consumers, resources, and resource conversion and exchange.

Author summary

Resident microbial communities, such as those inhabiting different parts of our body, can resist colonization by other microbes, a property called colonization resistance. Colonization resistance is important for protecting us from pathogens, bringing up the need to better understand the mechanisms that affect it. Here we use a consumer-resource model to investigate how resources supplied in the environment can influence invasion outcomes including colonization resistance. We implement a computational invasion assay and simulate many instances of resident communities encountering invaders to infer how different parameters such as the supply of resources or exchange of metabolites between species affect colonization resistance. We find that colonization resistance is negatively correlated with both resource supply and resource diversity, except when resource supply is limited. We also show that cross-feeding between species weakens colonization resistance by increasing the diversity of available resources, but this trend disappears with limited resource supply. Collectively, our work highlights the impact of resources in shaping colonization resistance, offering useful insights that can guide future efforts to control colonization resistance.

Introduction

Whether an invader can successfully colonize an ecosystem depends both on the resources available in the environment as well as direct and indirect interactions with the resident community already present in that ecosystem [1]. The combined ability of an environment and the resident community to prevent the establishment of an invader is known as colonization resistance. For example, the pathogen Clostridioides difficile generally fails to colonize in a healthy human intestinal microbiota but succeeds in hosts recently treated with antibiotics [24]. Likewise, colonization of the opportunistic pathogen Staphylococcus aureus is inhibited by the nasal microbiota resident Staphylococcus epidermidis [5,6].

Colonization resistance plays a key role in protecting hosts from pathogenic invasion. The ability to manipulate the microbiome’s composition can also benefit human health by treating conditions associated with dysbiosis of our resident microbiota [7,8], such as Crohn’s disease [9], obesity [10,11], and depression [12]. However, the mechanisms of colonization resistance are not well understood, and assessing the impact of interventions in vivo is challenging [13]. Various model systems have been proposed to study colonization resistance, yet each faces trade-offs between control and realism [14].

Deciphering emergent community functions such as colonization resistance requires a fundamental understanding of species-level interactions. Microbial species in a community interact directly and indirectly through strategies such as resource competition, antimicrobial production, and contact-dependent inhibition [15,16]. Focusing on the abiotic factors that shape a community—such as environmentally supplied nutrients—may present key insights into emergent functions such as colonization resistance [17]. For example, environments with fewer supplied resources are expected to support a smaller niche space, making successful invasion more difficult. The extent to which resource diversity affects species richness and community resistance, or how cross-feeding modulates colonization resistance, remains unclear [18,19].

Previous analyses of the relationship between species richness and colonization resistance have led to various and often contradictory results, where both positive and negative correlations appear across ecosystems [20,21]. Another study found non-monotonic richness-resistance relationships, with a positive correlation for low species richness and a negative correlation for high richness [22]. The variety of richness-resistance relationships has been termed the invasion paradox, describing the several concurrently supported theories for both a positive and a negative correlation between resident biodiversity and invasion success [23]. Given the importance of microbial diversity in community functionality, understanding which factors determine the shape of the richness-resistance curve is imperative to designing artificial communities and analyzing the composition of our microbiota [2428].

Due to the difficulty in characterizing and controlling complex microbial communities, the general principles governing these ecosystems are poorly understood. Thus, mechanistic studies in microbial community ecology are typically either general and based on theoretical models or specific to a narrow set of species and conditions [2931]. We take the former approach in this work, highlighting general insights using in silico models. The Lotka-Volterra model, a simple model of direct species interactions, has been used in the past to model community dynamics; however, such a model is incapable of accounting for resource preference and cross-feeding [32]. Instead, we employ a modified version of MacArthur’s consumer-resource model, which captures the dynamics of species populations and resource concentrations over time [33].  We directly study how environmental resource influx and cross-feeding shape invasion dynamics within a consumer-resource model. Similar analyses have been performed using other models to decipher how direct interactions affect community colonization resistance, finding that more facilitative resident communities are more resistant to invasion [34,35]. Even though Lotka-Volterra dynamics can emulate low-nutrient environments, they fail to consider higher-order indirect interactions, such as resource competition, consumption trade-offs, and metabolic cross-feeding [36]. To account for higher-level interactions, we use a consumer-resource model based on these abiotic factors [37].

We begin our investigation by testing whether the richness-resistance relationship depends on the amount and diversity of resources supplied. After invading communities of varying richness, we find a non-monotonic trend between species richness and resistance shaped by environmental characteristics. We next ask whether the environment impacts colonization resistance trends. To elucidate how the environment affects the richness-resistance relationship, we systematically vary resource supply, or the total input rate of supplied resources, and resource diversity, the number of resource types over which this supply is distributed. We observe that these two factors have an independent and interdependent effect on the richness-resistance relationship, offering valuable insights into the environmental conditions that predispose communities to positive, negative, or non-monotonic richness-resistance curves. We find that resistance is negatively correlated with resource supply and is typically—but not universally—negatively correlated with resource diversity. However, when resource supply is limited, we observe a surprising positive correlation between resource diversity and resistance. Finally, we test cross-feeding parameters which control the amount and diversity of metabolic byproducts. We observe that high resource diversification via cross-feeding weakens colonization resistance, but this trend disappears with limited resource supply. These results contribute towards a greater understanding of how environmentally supplied resources and cross-feeding dynamics help to determine the colonization resistance of a community.

Methods

Microbial consumer-resource model

We use the following consumer-resource model, visualized in Fig 1a-1b and parametrized as listed in Table 1. Each species is parameterized by a weighted set of resource preferences and a minimum resource uptake threshold to maintain its population size. Species population densities Ni grow or shrink according to the alignment between their preferences and the resources present, with a minimum uptake mi to achieve zero growth. Resource concentrations Rα are determined by an environmental influx rate Kα, an environmental dissipation rate γ, and species consumption ciα. Additionally, we incorporate cross-feeding dynamics using byproduct leakage proportion l and a metabolic conversion matrix D as described in [38].

thumbnail
Fig 1. Consumer-resource dynamics and invasion assay.

(a) Modeled resource flow, with input resources saturating the community of species which consume present resources and convert them to other resources via leakage, which can then be consumed by other species. (b) Closer look at resource input as modeled by supply and diversity. (c) Invasion assay and outcome assessment legend.

https://doi.org/10.1371/journal.pcbi.1013648.g001

(1)

This model is chosen based on the formulation in [38], in which two biologically relevant concepts are incorporated: (1) Energy considerations: each resource is assumed to carry a certain amount of energy, and a balance in energy expenditure is already in place as resources are converted to other resources and taken up by other consumers. (2) Metabolic trade-off: each consumer can utilize some of the resources, but the total uptake across all resources is fixed to capture the trade-off in resource utilization strategy. It should be noted that in this model, different resources are co-utilized and enough supply of any of the resources can support the growth of a species that can utilize that resource. The model, although simplified, is considered to be a reasonable abstraction of consumer-resource interactions among microbes and has been used in several previous reports (e.g., [37,39,40]). Arbitrary units are used for resources and population densities in the model, and other parameters such as uptake rates are chosen accordingly in a range that would be consistent with typical microbial growth and uptake rates.

Workflow and numerical analysis of consumer-resource model

The described microbial consumer-resource equations are encoded in MATLAB R2023a and numerically integrated using the ode45 nonstiff medium-order method with an absolute tolerance of 10–20. To maintain solver stability, communities are generated with at least one viable species and the resource supply is large enough to support a single ideal species. The assays described run on the Boston College Linux Cluster via Slurm scripting and using the MATLAB Parallel Computing toolbox. Raw data was imported to local machines to run analyses and create figures. Figures were generated using MATLAB and Inkscape.

Parameter selection

For community generation, we set the following parameters (typical values listed in Table 2). We universally use M = 18 total resource types from which to choose supplied resource types and to which consumed resources may be converted. E environmentally supplied resources are chosen at random from the M total resource types, and U concentration rate units are randomly allotted to the chosen supplied resource types.

Each column of the metabolic matrix is generated using the Dirichlet distribution with a parameter vector of size such that each element is , which ensures the columns sum to 1. Any element of metabolic matrix less than the minimum conversion proportion LD is set to 0 and the columns are scaled to bring their sums to 1. Smaller metabolic spread σD results in a more consolidated metabolism, while greater spread leads to greater resource diversity. For reference, metabolic spread values of 0.05, 1, and 5 result in an average of 1.13, 2.83, and 5.41 metabolic byproducts per consumed resource, respectively.

Once these environmental parameters are set, the community is colonized using a pool of S0 species possessing random and unique resource preferences ciα. We sample S0 as a random integer between 5 and 50 to generate a range of richness values (the justification for this sampling strategy is provided in Justification of Parameter Selection). Each species has a preference budget μc of 10 uptake units to distribute among a maximum of 5 resource types, and a minimum zero-growth uptake of 1 energy unit. When a species consumes a single resource concentration unit, it produces l units of metabolic byproducts and uses the remaining (1-l) units for growth. Invaders are generated in the same manner as initial colonizers, with different resource preferences from any residents. After each propagation or dilution step, any species population less than the extinction threshold is set to 0 and subsequently removed from the system.

Invasion assay

Once an invader is placed in a community, the community is propagated, and a numerical steady state is achieved. Next, the community undergoes a series of dilution-propagation steps. Lastly, iteratively perturbing population sizes and recomputing the steady state effectively filtered out most unstable species. To quantify colonization resistance in our invasion assay, we follow the same classifications as previous studies [22,34], illustrated in Fig 1c. We describe four categories based on the presence of the invader and resident richness in the final community. Augmentation describes when both the invader and every resident species are present in the final community; displacement describes when the invader but not every resident persists; resistance describes when the invader fails to colonize, and every resident species persists; and disruption describes when both the invader and at least one resident species go extinct.

We observe that with fixed resource input supply and diversity all tested communities reach a numerically stable steady state in which changes in species populations and resource concentrations are bounded. No non-diminishing oscillatory patterns were found after prolonged propagation steps, implying that stable consumer-resource steady states are achieved.

Extinction threshold and disruption analysis

The model predicts that perturbations lead to loss of diversity in high-richness communities due to an increased number of populations near the extinction threshold. Upon invasion of these high-richness communities, disruption is the most common outcome, with the lowest-ranking species by abundance driven to extinction disproportionately more than expected by random chance (S1 Fig). This appears to be an inextricable element of the model, as varying the resource supply and resource diversity consistently leads to similar disruption phenomena. To investigate whether disruption outcomes can be reduced, we vary the extinction threshold under which species are considered extinct (S2 Fig). We find that extinction threshold does not significantly affect disruption outcomes, reinforcing that high-richness disruption is an inherent property of the consumer resource model.

Justification of parameter selection

To determine the effect of initial species pool size on the resulting community, we compare richness and invasion outcome to S0 (S3 Fig). We confirm that richness correlates with initial species count, validating our choice to use a range of pool sizes to generate communities of varying richness. Furthermore, resistance remains constant regardless of initial species count, implying colonization resistance is not significantly affected by this parameter. We test the effect of M, the number of possible resources in the community, on resistance outcomes, and find similar patterns as when U and E are varied (S4 Fig). Thus, we fix M at 18 to reduce confounding variables. When introducing an invader to a community, its population size is determined relative to the total resident population. To determine the effect of propagule size Pinv on invasion outcome, we tested different propagule sizes from 10-6 to 100 of the resident community population. Our findings indicate little change in the proportion of resistance outcomes when the invader propagule size is greater than the extinction threshold of around 10-3 of the resident community population (S5 Fig). No additional significant propagule effects were found on the remaining invasion outcomes. As such, all other simulations use a constant invader propagule size of 1% of the resident community population.

Invasion assay

To investigate invasion outcomes, we follow a two-step procedure. In the first step (‘assembly’ in Fig 2), a pool of species with randomly selected consumption and conversion profiles are grown together through several passages until a subset of these species reach stable coexistence. We then introduce an invader into these resident communities and examine follow the community to examine if the invader establishes in the community and if all the members of the resident community persist (‘invasion’ in Fig 2). We label the invasion outcomes as one of four possible outcomes (Augment, Displace, Disrupt, or Resist), according to the observed results in each particular instance of the simulation.

thumbnail
Fig 2. Invasion into communities assembled from randomly interacting species is examined.

In the first stage, resident communities are assembled by allowing a pool of randomly interacting resources in the CR model to reach a steady state as the resident community. An invader is then introduced into the community and the community is simulated until it reaches a new steady state. The success/failure of the invader and a possible change in the richness of the resident members is used to categorize the invasion outcomes, as described in Fig 1.

https://doi.org/10.1371/journal.pcbi.1013648.g002

Statistical analysis

The relative frequency of each invasion outcome is calculated by dividing the number of instances with that invasion outcome to the number of all simulated instances for that condition. To calculate the confidence intervals of the relative frequency of each invasion outcome, we used the bootci bootstrap routine in Matlab. For each data point, 95% confidence intervals are reported, using 1000 bootstrap samples.

Results

The richness-resistance relationship is not consistently monotonic

We begin by examining how resistance depends on the richness of resident communities. This dependency remains an outstanding question in invasion ecology due to inconsistent trends observed in different systems in previous investigations [2023]. We consider a typical set of resource parameters (Eq (1) and Table 1) and analyze the relationship between species richness and the community’s ability to resist invasion—termed the richness–resistance relationship. In this analysis, we quantify the relative frequency of observing different invasion outcomes (Augment, Displace, Disrupt, or Resist) when simulating many instances of invasion with parameters such as consumption rates and conversion rates are picked randomly from the corresponding distributions (Fig 2 and Table 1). We find this relationship to be non-monotonic (Fig 3a-3b), consistent with previous findings in a mediator-explicit model and a Lotka-Volterra model [22]. Furthermore, we observe a steady decline in augmentation outcomes, implying a reduction in unexploited niches with more present species. In its place, displacement steadily increases over the same richness domain as successful invaders more frequently push out residents in an overlapping niche. Lastly, disruption outcomes are insignificant at low richness but grow exponentially at high richness, showcasing the tendency to lose resident species in a packed community. To investigate the richness-resistance relationship further, we run the same experiment using varying levels of resource supply and diversity, measured by the total resource input and number of non-zero input resources, respectively.

thumbnail
Fig 3. The richness-resistance curve is not consistently monotonic.

(a) Communities are generated using specified resource supply and diversity parameters and categorized by richness. After invasion, proportion of resistance outcomes is plotted against richness. Dashed lines represent bootstrap 95%-confidence intervals (N = 200,000). (b) Proportions of non-resistance outcomes.

https://doi.org/10.1371/journal.pcbi.1013648.g003

Resource diversity and supply shape the richness-resistance curve

Our results indicate that low resource supply environments have a strongly negative richness-resistance relationship due to high competition for few resources (Fig 4a). In contrast, high resource supply environments have a confounding, non-monotonic richness-resistance relationship at low species richness, but converge at higher richness to a similar negative trend as seen in resource-limited systems. In species-rich communities, population sizes near the extinction threshold tend to decrease, resulting in disruption overtaking resistance (Figs 3b and S1).

thumbnail
Fig 4. Resource diversity and supply shape the richness-resistance curve.

(a) Resource diversity is fixed at 5 input resources and supply is varied (N = 1,000,000). (b) Resource supply is fixed at 12 concentration units and diversity is varied (N = 1,000,000). Dashed lines represent bootstrap 95%-confidence intervals. Larger confidence intervals at large values of initial community richness are because there are fewer communities emerging in our community assembly procedure at those richness values.

https://doi.org/10.1371/journal.pcbi.1013648.g004

For all tested resource diversity values, the richness-resistance relationship is non-monotonic due to the abundant resource supply of 12 concentration units (Fig 4b). In low resource diversity environments, the richness-resistance relationship shows a negative correlation at low richness, a positive correlation at intermediate richness, and a negative correlation at high richness. While the general pattern persists at high resource diversity, the correlation in low-richness regimes reverses—from negative to positive—as resource diversity increases. Given the dynamic richness-resistance relationship under varying environmental inputs, we next analyzed the direct effect of resource supply and resource diversity on resistance.

Increased resource supply leads to less resistant communities

Intuitively, increasing supply expands viable niche space, allowing more invaders to colonize and reducing resistance. Our findings agree with this hypothesis. Additional resource supply leads to less resistance outcomes regardless of resource diversity (Fig 5a). However, resistance in communities with greater resource diversity exhibits an increased sensitivity to resource supply.

thumbnail
Fig 5. Resistance exhibits mostly negative correlation with resource diversity and supply.

With resource supply and diversity parameters shown, communities are assembled and then exposed to invaders. (a) Communities are sorted by resource supply (darker lines indicating greater supply), then the relative frequency of resistance outcomes is plotted against resource diversity (N = 2,000,000). (b) Communities are sorted by resource diversity (darker lines indicating greater diversity), then the relative frequency of resistance outcomes is plotted against resource supply (N = 2,000,000). Dashed lines represent bootstrap 95%-confidence intervals.

https://doi.org/10.1371/journal.pcbi.1013648.g005

Increased resource diversity boosts resistance under limited resource supply, but reduces resistance otherwise

We then examined resistance against resource diversity (Fig 5b). We see that resistance generally decreases with resource diversity, and the decrease is more pronounced with greater resource supply. This further supports our hypothesis that increasing resource diversity or supply expands available niche space, leading to reduced resistance. Interestingly, in resource-limited environments, resource diversity positively correlates with resistance. Our data suggests that dispersing limited input resource units among many resource types restricts species from acquiring sufficient resources to meet the minimum energy uptake threshold.

Cross-feeding weakens resistance especially when the resource input has low diversity

To evaluate the effect of the cross-feeding, we measure resistance in the four environments for low or high levels of byproduct leakage and metabolic spread (Fig 6a). Byproduct leakage is the proportion of consumption that is leaked as other resources (l in Eq (1)), the distribution of which is determined by the metabolic matrix D (Eq (1)). Notably, increased leakage decreases the amount of energy a consumer can use for growth, leading to lower overall population sizes in high leakage systems. Metabolic spread determines how byproduct leakage is distributed as other resources. Low-spread metabolism indicates that a consumed resource is converted into a few byproducts at high concentrations, whereas high-spread metabolism yields a broader range of byproducts in lower amounts.

thumbnail
Fig 6. Cross-feeding weakens resistance especially when input resource diversity is low.

(a) Low leakage results in more energy converted to growth and less resource output, while high leakage limits growth by converting more energy to other resources. Low spread metabolisms convert one resource to few others in large quantities, while high spread metabolisms result in several resource products at lower concentrations. (b-e) For each environment, communities are generated with a low or high leakage ratio (l = 0.01 or 0.8) and a low or high spread metabolism (σD = 0.05 or 5). Communities are invaded and the outcomes are recorded, then total resistance proportion is calculated with 95%-confidence bootstrap intervals. Dashed lines are means over all cross-feeding parameters (N = 200,000).

https://doi.org/10.1371/journal.pcbi.1013648.g006

In environments not limited by resource supply, trends across byproduct leakage and metabolic spread are consistent (Fig 6c-6e). Low leakage increases resistance by allowing consumers to remove more resources from the environment and achieve nutrient blocking. Low spread also increases resistance by reducing the number of resource types present and constraining open niche space. Metabolic spread is only a factor when byproduct leakage is significant. Deviation from mean resistance is greatest when the resource diversity is low relative to resource supply, specifically in resource-abundant and consolidated resource environments.

Many of these observations are reversed in the resource-limited environment (Fig 6b). Here, high leakage and high spread each increase resistance, as opposed to the three other environments. Consistent with our previous results, increased resource diversity in resource-limited environments enhances resistance by making it more challenging for any consumer—whether resident or invader—to acquire sufficient resources for population maintenance. Because high byproduct leakage and metabolic spread each increase resource diversity, we see increased resistance in resource-limited environments and decreased resistance in each of the other cases. The effect of metabolic spread is still dependent on high byproduct leakage and deviation from the mean is small due to a low potential for creating new niches when resources are limited.

Discussion

To investigate the effects of environmental resource supply and resource diversity on colonization resistance, we used a microbial consumer-resource model with co-utilized resources and explicit species resource preferences (Eq (1)). Previous studies have explored similar emergent functions using Lotka-Volterra or mediator-explicit models, but such models are not designed to account for the effect of resources in the environment. Furthermore, we incorporated cross-feeding dynamics using a leakage fraction parameter and metabolic matrix, allowing for resource-exchange interactions that shape community metabolism and remove nutrients from the environment. We expected variation in the degree of metabolic exchange across communities, so we tested the effect of byproduct leakage and metabolic spread on overall community resistance.

We discovered that a significant portion of our results could be predicted based on a few fundamental characteristics of the model: sensitivity at high richness, increased resistance due to nutrient blocking, and decreased resistance due to unutilized resources. We found a high sensitivity to perturbation at high richness in every tested environment, which resulted in disruption outcomes overtaking resistance. Moreover, the lowest rank-abundance species disproportionately account for extinction events in these conditions. These findings align with previous work using consumer-resource models which found neutral-like dynamics in communities with high species diversity, resulting in more frequent displacement and disruption events [41,42]. To further validate that the model dynamics are capable of replicating empirical studies, we analyze the resistance of the community relative to its survival fraction from the initial species pool. A recent study found that invasion success is approximately equal to the survival fraction of a community from its initial species pool [35], i.e., a community with 50% of the initial species present will admit an invader about 50% of the time. Using a constant initial species pool size, the consumer-resource model produces a similar trend (S6 Fig).

We note that disruption outcomes in this parameter space occur more frequently within the model than experimentally. Disruption can happen when communities with alternative steady states shift between states when a transient invader sufficiently perturbs the resident populations and/or resource concentrations [43]. An explanation for our observation is that experimental communities are generally more stable prior to perturbation than simulated ones in which extraneous species face less environmental filtering in the idealized model. Our results suggest a core community is assembled around the nutrients present, with such transient invaders surviving on the remaining scarce nutrients which are vulnerable to perturbation.

Nutrient blocking is a mechanism of colonization resistance in which resident species consume sufficient nutrients to block an invader from colonizing [17]. Environmental filtering is a similar process where an invader fails to colonize due to a lack of essential nutrients, driven by unsuitable abiotic conditions such as limited resource availability [44]. These two mechanisms drive increased resistance in communities with higher richness and environments with limited resource supply. Species-rich communities contain more metabolic strategies, resulting in increased resource consumption, nutrient blocking, and resistance. Likewise, limited resource environments provide fewer opportunities for an invader to realize a viable niche, resulting in stronger environmental filtering and increased resistance. In contrast, unutilized resources decrease resistance as more viable niches are available for an invader. High resource supply and resource diversity create open niches that invaders can exploit, weakening colonization resistance. Our cross-feeding experiments further support the relationship that resistance is strongly and negatively correlated with unutilized resources creating open niche space.

Cross-feeding dynamics offer an opportunity for the resident community to reshape environmental resource distributions. Increased byproduct leakage and metabolic spread effectively lead to higher resource diversity. Given a fixed resource supply, niche space is maximized when resource diversity is increased until resource concentrations are too diluted to support a population, a consequence of nutrient blocking and environmental filtering (Fig 7). In a resource-limited environment, increasing resource diversity via cross-feeding decreases niche space as fewer metabolic strategies remain viable, leading to slightly increased resistance with more cross-feeding. Similarly, in diverse resource environments, cross-feeding does little to increase niche space because the system is already saturated with supplied resource types, resulting in little change to resistance in response to changes in cross-feeding. However, cross-feeding in resource-abundant and consolidated resource environments increases niche space as sufficient resource supply is converted to many other resource types. This finding is experimentally supported by Dal Bello et al., which found that high richness communities can be supported by a single carbon source, where cross-feeding dynamics facilitate a broad metabolic network incorporating numerous species [45]. In turn, resistance was most dynamic in the resource-abundant and consolidated resource environments, where higher leakage and spread led to increased resource diversity, niche space, and invasion success.

thumbnail
Fig 7. Qualitative plot of resistance by resource diversity and supply.

Dotted line represents resource diversity threshold where environment is saturated with resource types, meaning additional resource diversity does not significantly impact resistance. Dashed line represents the maximum resource diversity without diluting concentrations beyond usable threshold, below which any species struggles to reach minimum uptake. Labels correlate with environments from Fig 6b-6e.

https://doi.org/10.1371/journal.pcbi.1013648.g007

In this study, we classify different resistance regimes of resource input parameter space and show how the richness-resistance relationship is affected in these different regimes. Our work using the consumer-resource model reveals insights into how the environment shapes colonization resistance in microbial communities. Previous studies on invasion ecology often separate two determinants of invasion success: the available environmental niche that would be receptive to the invader and the biotic interactions, including the effect of resident community members, that can facilitate or inhibit the invader. Here we show that in a consumer-resource model, these two factors are tightly linked through the resources in the environment. This finding in particular highlights that resource supply—defined as the amount of resources supplied by the environment—and resource diversity—defined as the variety of supporting resources for consumers—as major determinants of invasion outcomes. Our findings offer an important insight and a new dimension for microbiome management strategies by controlling the amount and diversity of supplied resources into the environment when possible.

We recognize that the assumptions made for our model may limit its experimental applicability. One limitation is that the resources in our model are co-utilized and could, for example, represent alternative carbon sources. As such, the current model does not capture situations in which multiple resources are required simultaneously for growth (e.g., a carbon source and a nitrogen source). Additionally, parameterizing cross-feeding dynamics by a single, static matrix does not fully capture the diversity of possibilities such as independent resource requirements (e.g., carbon versus nitrogen sources), preferred utilization of certain resources [46], or metabolic plasticity [47]. We also assume a consistent environmental resource supply and allow communities to reach a steady state before perturbation and invasion occur, but in nature, microbial communities are not necessarily in equilibrium. Moreover, spatial structure and heterogeneity, the influence of the host, and evolutionary processes are not accounted for in our current investigation. These are important factors that need to be investigated in future studies. Despite these limitations, the consumer-resource model is an effective framework for predicting resource-driven niche space. Further investigation is needed to explore how spatiotemporal variation in resource supply and species populations impacts colonization resistance, both within consumer-resource models and in other theoretical frameworks.

Supporting information

S1 Fig. Disruption disproportionately affects communities of high richness and species of low abundance.

https://doi.org/10.1371/journal.pcbi.1013648.s001

(TIFF)

S2 Fig. Selection of the extinction threshold.

https://doi.org/10.1371/journal.pcbi.1013648.s002

(TIFF)

S3 Fig. Selection of the initial species count.

https://doi.org/10.1371/journal.pcbi.1013648.s003

(TIFF)

S4 Fig. Resistance is not sensitive to the selection of the propagule size.

https://doi.org/10.1371/journal.pcbi.1013648.s004

(TIFF)

S5 Fig. Community richness that shows maximal resistance depends on the number of resources in the model.

https://doi.org/10.1371/journal.pcbi.1013648.s005

(TIFF)

S6 Fig. Survival fraction matches invasion success in our model, consistent with previous findings.

https://doi.org/10.1371/journal.pcbi.1013648.s006

(TIFF)

Acknowledgments

We acknowledge computational resources and support offered by Boston College Research Services and the Linux Cluster staff.

References

  1. 1. Catford JA, Jansson R, Nilsson C. Reducing redundancy in invasion ecology by integrating hypotheses into a single theoretical framework. Diversity and Distributions. 2009;15(1):22–40.
  2. 2. Pike CM, Theriot CM. Mechanisms of Colonization Resistance Against Clostridioides difficile. J Infect Dis. 2021;223(12 Suppl 2):S194–200. pmid:33326565
  3. 3. Theriot CM, Bowman AA, Young VB. Antibiotic-Induced Alterations of the Gut Microbiota Alter Secondary Bile Acid Production and Allow for Clostridium difficile Spore Germination and Outgrowth in the Large Intestine. mSphere. 2016;1(1):e00045-15. pmid:27239562
  4. 4. Buffie CG, Jarchum I, Equinda M, Lipuma L, Gobourne A, Viale A, et al. Profound alterations of intestinal microbiota following a single dose of clindamycin results in sustained susceptibility to Clostridium difficile-induced colitis. Infect Immun. 2012;80(1):62–73. pmid:22006564
  5. 5. Iwase T, Uehara Y, Shinji H, Tajima A, Seo H, Takada K, et al. Staphylococcus epidermidis Esp inhibits Staphylococcus aureus biofilm formation and nasal colonization. Nature. 2010;465(7296):346–9. pmid:20485435
  6. 6. Man WH, de Steenhuijsen Piters WAA, Bogaert D. The microbiota of the respiratory tract: gatekeeper to respiratory health. Nat Rev Microbiol. 2017;15(5):259–70. pmid:28316330
  7. 7. Mullish BH, Marchesi JR, Thursz MR, Williams HRT. Microbiome manipulation with faecal microbiome transplantation as a therapeutic strategy in Clostridium difficile infection. QJM. 2015;108(5):355–9. pmid:25193538
  8. 8. Geirnaert A, Calatayud M, Grootaert C, Laukens D, Devriese S, Smagghe G, et al. Butyrate-producing bacteria supplemented in vitro to Crohn’s disease patient microbiota increased butyrate production and enhanced intestinal epithelial barrier integrity. Sci Rep. 2017;7(1):11450. pmid:28904372
  9. 9. Núñez-Sánchez MA, Melgar S, O’Donoghue K, Martínez-Sánchez MA, Fernández-Ruiz VE, Ferrer-Gómez M, et al. Crohn’s Disease, Host-Microbiota Interactions, and Immunonutrition: Dietary Strategies Targeting Gut Microbiome as Novel Therapeutic Approaches. Int J Mol Sci. 2022;23(15):8361. pmid:35955491
  10. 10. Liu B-N, Liu X-T, Liang Z-H, Wang J-H. Gut microbiota in obesity. World J Gastroenterol. 2021;27(25):3837–50. pmid:34321848
  11. 11. Gomes AC, Hoffmann C, Mota JF. The human gut microbiota: Metabolism and perspective in obesity. Gut Microbes. 2018;9(4):308–25. pmid:29667480
  12. 12. Kumar A, Pramanik J, Goyal N, Chauhan D, Sivamaruthi BS, Prajapati BG, et al. Gut Microbiota in Anxiety and Depression: Unveiling the Relationships and Management Options. Pharmaceuticals (Basel). 2023;16(4):565. pmid:37111321
  13. 13. National Academies of Sciences, Engineering, and Medicine, Division on Earth and Life Studies, Board on Life Sciences, Board on Environmental Studies and Toxicology, Committee on Advancing Understanding of the Implications of Environmental-Chemical Interactions with the Human Microbiome. Environmental Chemicals, the Human Microbiome, and Health Risk: A Research Strategy. Washington (DC): National Academies Press (US). 2017.
  14. 14. Bourea H. Hartmann L. Karjalaine T, Rowland I, Wilkinson MHF. Models to Study Colonisation and Colonisation Resistance. Microbial Ecology in Health and Disease. 2000;12(2):247–58.
  15. 15. Little AEF, Robinson CJ, Peterson SB, Raffa KF, Handelsman J. Rules of engagement: interspecies interactions that regulate microbial communities. Annu Rev Microbiol. 2008;62:375–401. pmid:18544040
  16. 16. Braga RM, Dourado MN, Araújo WL. Microbial interactions: ecology in a molecular perspective. Braz J Microbiol. 2016;47 Suppl 1(Suppl 1):86–98. pmid:27825606
  17. 17. Spragge F, Bakkeren E, Jahn MT, Araujo EBN, Pearson CF, Wang X, et al. Microbiome diversity protects against pathogens by nutrient blocking. Science. 2023;382(6676):eadj3502. pmid:38096285
  18. 18. Turner PE, Souza V, Lenski RE. Tests of Ecological Mechanisms Promoting the Stable Coexistence of Two Bacterial Genotypes. Ecology. 1996;77(7):2119–29.
  19. 19. Hammarlund SP, Chacón JM, Harcombe WR. A shared limiting resource leads to competitive exclusion in a cross‐feeding system. Environmental Microbiology. 2019;21(2):759–71.
  20. 20. Pennekamp F, Pontarp M, Tabi A, Altermatt F, Alther R, Choffat Y, et al. Biodiversity increases and decreases ecosystem stability. Nature. 2018;563(7729):109–12. pmid:30333623
  21. 21. Zhou H, Ma A, Liu G, Chen X, Zhou X, Yin J, et al. Interaction balance governs microbial community richness-stability relationship in terrestrial ecosystems. Wiley. 2024.
  22. 22. Zhu Y, Momeni B. Revisiting the invasion paradox: Resistance-richness relationship is driven by augmentation and displacement trends. PLoS Comput Biol. 2024;20(6):e1012193. pmid:38865380
  23. 23. Fridley JD, Stachowicz JJ, Naeem S, Sax DF, Seabloom EW, Smith MD, et al. The invasion paradox: reconciling pattern and process in species invasions. Ecology. 2007;88(1):3–17.
  24. 24. Delgado-Baquerizo M, Maestre FT, Reich PB, Jeffries TC, Gaitan JJ, Encinar D, et al. Microbial diversity drives multifunctionality in terrestrial ecosystems. Nat Commun. 2016;7:10541. pmid:26817514
  25. 25. Johns NI, Blazejewski T, Gomes AL, Wang HH. Principles for designing synthetic microbial communities. Curr Opin Microbiol. 2016;31:146–53. pmid:27084981
  26. 26. Gilbert JA, Blaser MJ, Caporaso JG, Jansson JK, Lynch SV, Knight R. Current understanding of the human microbiome. Nat Med. 2018;24(4):392–400. pmid:29634682
  27. 27. Escalas A, Hale L, Voordeckers JW, Yang Y, Firestone MK, Alvarez-Cohen L, et al. Microbial functional diversity: From concepts to applications. Ecol Evol. 2019;9(20):12000–16. pmid:31695904
  28. 28. Morris A, Meyer K, Bohannan B. Linking microbial communities to ecosystem functions: what we can learn from genotype-phenotype mapping in organisms. Philos Trans R Soc Lond B Biol Sci. 2020;375(1798):20190244. pmid:32200739
  29. 29. Levins R. The strategy of model building in population biology. Am Sci. 1966;54:421–31.
  30. 30. Shea K. Community ecology theory as a framework for biological invasions. Trends in Ecology & Evolution. 2002;17(4):170–6.
  31. 31. Wu F. General principles of microbial community structure. Duke University. 2020. https://hdl.handle.net/10161/21452
  32. 32. Momeni B, Xie L, Shou W. Lotka-Volterra pairwise modeling fails to capture diverse pairwise microbial interactions. Elife. 2017;6:e25051. pmid:28350295
  33. 33. MacArthur R. Species packing and competitive equilibrium for many species. Theor Popul Biol. 1970;1(1):1–11. pmid:5527624
  34. 34. Kurkjian HM, Akbari MJ, Momeni B. The impact of interactions on invasion and colonization resistance in microbial communities. PLoS Comput Biol. 2021;17(1):e1008643. pmid:33481772
  35. 35. Hu J, Barbier M, Bunin G, Gore J. Collective dynamical regimes predict invasion success and impacts in microbial communities. Nat Ecol Evol. 2025;9(3):406–16. pmid:39762572
  36. 36. Dedrick S, Warrier V, Lemon KP, Momeni B. When does a Lotka-Volterra model represent microbial interactions? Insights from in vitro nasal bacterial communities. mSystems. 2023;8(3):e0075722. pmid:37278524
  37. 37. van den Berg NI, Machado D, Santos S, Rocha I, Chacón J, Harcombe W, et al. Ecological modelling approaches for predicting emergent properties in microbial communities. Nat Ecol Evol. 2022;6(7):855–65. pmid:35577982
  38. 38. Marsland R 3rd, Cui W, Mehta P. A minimal model for microbial biodiversity can reproduce experimentally observed ecological patterns. Sci Rep. 2020;10(1):3308. pmid:32094388
  39. 39. Estrela S, Sanchez-Gorostiaga A, Vila JC, Sanchez A. Nutrient dominance governs the assembly of microbial communities in mixed nutrient environments. Elife. 2021;10:e65948. pmid:33877964
  40. 40. Diaz-Colunga J, Lu N, Sanchez-Gorostiaga A, Chang C-Y, Cai HS, Goldford JE, et al. Top-down and bottom-up cohesiveness in microbial community coalescence. Proc Natl Acad Sci U S A. 2022;119(6):e2111261119. pmid:35105804
  41. 41. Posfai A, Taillefumier T, Wingreen NS. Metabolic Trade-Offs Promote Diversity in a Model Ecosystem. Phys Rev Lett. 2017;118(2):028103. pmid:28128613
  42. 42. D’Andrea R, Gibbs T, O’Dwyer JP. Emergent neutrality in consumer-resource dynamics. PLoS Comput Biol. 2020;16(7):e1008102. pmid:32730245
  43. 43. Amor DR, Ratzke C, Gore J. Transient invaders can induce shifts between alternative stable states of microbial communities. Sci Adv. 2020;6(8):eaay8676. pmid:32128414
  44. 44. Keddy PA. Assembly and response rules: two goals for predictive community ecology. J Vegetation Science. 1992;3(2):157–64.
  45. 45. Dal Bello M, Lee H, Goyal A, Gore J. Resource-diversity relationships in bacterial communities reflect the network structure of microbial metabolism. Nat Ecol Evol. 2021;5(10):1424–34. pmid:34413507
  46. 46. Hermsen R, Okano H, You C, Werner N, Hwa T. A growth-rate composition formula for the growth of E.coli on co-utilized carbon substrates. Mol Syst Biol. 2015;11(4):801. pmid:25862745
  47. 47. Sun X, Favier A, Folmar J, Pyenson NC, Sanchez A, Rebolleda-Gómez M. Metabolic Plasticity Shapes Microbial Communities across a Temperature Gradient. Am Nat. 2024;204(4):381–99. pmid:39326062