Investigating macroecological patterns in coarsegrained microbial communities using the stochastic logistic model of growth
Abstract
The structure and diversity of microbial communities are intrinsically hierarchical due to the shared evolutionary history of their constituents. This history is typically captured through taxonomic assignment and phylogenetic reconstruction, sources of information that are frequently used to group microbes into higher levels of organization in experimental and natural communities. Connecting community diversity to the joint ecological dynamics of the abundances of these groups is a central problem of community ecology. However, how microbial diversity depends on the scale of observation at which groups are defined has never been systematically examined. Here, we used a macroecological approach to quantitatively characterize the structure and diversity of microbial communities among disparate environments across taxonomic and phylogenetic scales. We found that measures of biodiversity at a given scale can be consistently predicted using a minimal model of ecology, the Stochastic Logistic Model of growth (SLM). This result suggests that the SLM is a more appropriate nullmodel for microbial biodiversity than alternatives such as the Unified Neutral Theory of Biodiversity. Extending these withinscale results, we examined the relationship between measures of biodiversity calculated at different scales (e.g. genus vs. family), an empirical pattern previously evaluated in the context of the Diversity Begets Diversity (DBD) hypothesis (Madi et al., 2020). We found that the relationship between richness estimates at different scales can be quantitatively predicted assuming independence among community members, demonstrating that the DBD can be sufficiently explained using the SLM as a null model of ecology. Contrastingly, only by including correlations between the abundances of community members (e.g. as the consequence of interactions) can we predict the relationship between estimates of diversity at different scales. The results of this study characterize novel microbial patterns across scales of organization and establish a sharp demarcation between recently proposed macroecological patterns that are not and are affected by ecological interactions.
eLife assessment
This valuable study considers empirical macroecological patterns in microbiome data across multiple taxonomic scales. The work convincingly shows that the Stochastic Logistic Growth model is a more appropriate choice of null model than the neutral theory of biodiversity. The work will be of particular interest to microbial ecologists.
https://doi.org/10.7554/eLife.89650.3.sa0Introduction
An essential feature of microbial communities is their heterogeneous composition. A single environmental sample typically has a high richness, harboring hundreds to thousands of community members (Thompson et al., 2017; Shoemaker et al., 2017; Barberán et al., 2014). This high level of richness reaches an astronomical quantity at the global level, as scaling relationships and models of biodiversity predict upwards of one trillion (∼10^{12}) species on Earth (Locey and Lennon, 2016; Lennon and Locey, 2020). Even experimental communities in laboratory settings with a single carbon source can harbor ≥40 community members, culminating in a total richness numbering in the hundreds among replicate communities (e.g. Dal Bello et al., 2021). This richness contributes to the sheer diversity of microbial communities, a challenge for researchers attempting to identify the general principles that govern their dynamics and composition.
While richness estimates of microbial communities are undoubtedly high, the choice of assigning a community member to a given taxon remains intrinsically arbitrary. This arbitrariness exists regardless of whether the definition of a taxon is based on physiological attributes measured in the laboratory, entire genomes (i.e. metagenomics), or singlegene ampliconbased methods (i.e. 16S rRNA annotation). Despite their methodological differences, these approaches can all be viewed as different ways to cluster individuals within a community into groups. To contend with the sheer richness of microbial communities, researchers frequently rely on annotationbased approaches, i.e., by summing the abundances of community members that belong to the same group at a given taxonomic scale (e.g. genus, family, etc.). This approach pares down communities to a size that is amenable for the visualization of individual groups and allows for questions of scaledependent community reproducibility to be addressed (Louca et al., 2016; Goldford et al., 2018; Estrela et al., 2022; Estrela et al., 2021; Dal Bello et al., 2021; Ho et al., 2022; Good and Rosenfeld, 2022; Tian et al., 2020).
This movement towards performing analyses of diversity at various taxonomic scales raises the question of how the composition of a community at one scale relates to that at another. To address these questions, researchers have examined the relationship between biodiversity measures at different scales in order to pare down the set of ecological mechanisms that plausibly govern community composition. Specifically, recent efforts have found that microbial richness/diversity within a given taxonomic group (e.g. genus) is typically positively correlated with the richness/diversity among the remaining groups (e.g. family) (Madi et al., 2020; Estrela et al., 2022), an empirical pattern that aligns with the predictions of the Diversity Begets Diversity (DBD) hypothesis (Whittaker, 1972; San Roman et al., 2018; Maynard et al., 2017). Evidence of the DBD hypothesis has historically been attributed to the construction of novel niches within a community through member interactions (Calcagno et al., 2017; Whittaker, 1972), with similar mechanisms having been proposed to explain the existence of a positive relationship in microbial communities (Madi et al., 2020). However, we still lack a quantitative understanding of how community composition at one scale should relate to that of another. Proceeding towards this goal requires two elements: (1) a systematic approach to grouping community members and (2) an appropriate null model for the composition of communities.
The operation of grouping the components of a system into a smaller number (e.g. merging read counts of OTUs to the family level in a community) is known in the physical sciences as coarsegraining. This formalism defines our systematic approach to grouping community members. While it is often not explicitly acknowledged as such, coarsegraining is a core concept in the microbial life sciences (Good and Hallatschek, 2018). By smoothing over microscopic details at a lower level of biological organization in order to make progress at a higher level, the concept of coarsegraining has contributed towards the development of effective models of physiological growth (Scott et al., 2014; Jun et al., 2018), evolutionary dynamics (Schweinsberg, 2003; Desai et al., 2013), and the dependence of ecosystem properties on the diversity of underlying communities (Moran and Tikhonov, 2022). Coarsegraining has even been used to glean insight into the question of whether ‘species’ as a unit has meaning for microorganisms, as modeling efforts have found that the operation permits the delimitation of distinct taxonomic groups when the resource preferences of community members are structured (Tikhonov, 2017). These theoretical and empirical efforts suggest that coarsegraining may provide an appropriate framework for investigating patterns of diversity and abundance within and between taxonomic scales of observation.
When evaluating the novelty of an empirical pattern it is useful to identify an appropriate null model for comparison (O’Dwyer et al., 2017; McGill, 2010; Harte, 2011). Prior research efforts have demonstrated the novelty of the fine vs. coarsegrained relationship by contrasting inferences from empirical data with predictions obtained from the Unified Neutral Theory of Biodiversity (UNTB) (Hubbell, 2011; Volkov et al., 2003; Azaele et al., 2016; Madi et al., 2020; Alonso and McKane, 2004; Azaele et al., 2006). These predictions generally failed to reproduce slopes inferred from empirical data (Madi et al., 2020), implying that the fine vs. coarsegrained relationship represents a novel macroecological pattern that cannot be quantitatively explained by existing null models of ecology. However, the task of identifying an appropriate null model for comparison is not straightforward. Rather, the question of what constitutes an appropriate null model remains a persistent topic of discussion in community ecology (Simberloff, 1983; Harvey et al., 1983; Gotelli and Graves, 1996; Gotelli and Ulrich, 2012; O’Dwyer et al., 2017). Here, we take the view that a null model is appropriate for examining the relationship between two observables (e.g. community diversity at different scales) if it was capable of quantitatively predicting each observable (e.g. community diversity at one scale). By this standard, the UNTB is an unsuitable choice as a null as it generally fails to capture basic patterns of microbial diversity and abundance at any scale (Li and Ma, 2016; Harris et al., 2017; Grilli, 2020). One relevant example is that the UNTB predicts that the distribution of mean abundances of community members across sites is extremely narrow (i.e. converging to a delta distribution as the number of sites increases), whereas empirical data tends to follow a broad lognormal distribution (Grilli, 2020). Contrastingly, recent efforts have determined that the predictions of a model of selflimiting growth with environmental noise, the SLM, is capable of quantitatively capturing multiple empirical macroecological patterns in observational and experimental microbial communities (Grilli, 2020; Zaoli and Grilli, 2021; Zaoli et al., 2022; Descheemaeker et al., 2021; Descheemaeker and de Buyl, 2020; Shoemaker et al., 2023c; Lim et al., 2023). The stationary solution of this model predicts that the abundance of a given community member across sites follows a gamma distribution (Grilli, 2020), a result that provides the foundation necessary to predict macroecological patterns among and between different taxonomic and phylogenetic scales.
In this study, we evaluated macroecological patterns of microbial communities across scales of evolutionary resolution. To limit potential biases that may result due to taxonomic annotation errors and to use all available data, we investigated the macroecological consequences of coarsegraining by developing a procedure that groups community members using the underlying phylogeny in addition to relying on taxonomic assignment. We used data from the Earth Microbiome Project (EMP), a public catalog of microbial community barcode data, to ensure the generality of our findings and their commensurability with past research efforts. First, we assessed the extent that microbial diversity varies as the abundances of community members are coarsegrained by phylogenetic distance and taxonomic rank. The results of these analyses lead us to consider whether the predictive capacity of the gamma distribution remained robust under coarsegraining, a prediction that we quantitatively evaluated among community members and then extended to predict overall community richness and diversity. The accuracy of the gamma distribution provided the necessary motivation to test whether the gamma distribution was capable of predicting the relationship between fine and coarsegrained estimates, the empirical pattern that has been interpreted as evidence for the DBD hypothesis. Together, these analyses present evidence of the scale invariance of macroecological patterns in microbial communities as well as the applicability of the gamma distribution, the stationary distribution of the SLM, as a null model for evaluating the novelty of macroecological patterns of microbial biodiversity.
Results
The macroecological consequences of phylogenetic and taxonomic coarsegraining
While microbial communities are often coarsegrained into higher taxonomic scales, their effect on measures of biodiversity and the underlying phylogeny are rarely examined. Before proceeding with the full analysis using public 16S rRNA amplicon data from the EMP, we elected to quantify the fraction of the remaining community members across coarsegraining thresholds, a reflection of the extent that coarsegraining reduces global richness and the relation between taxonomic and phylogenetic coarsegraining. We first defined a coarsegrained group $g$ as the set of OTUs that have the same assigned label in a given taxonomic rank out of $G$ groups (e.g. Pseudomonas at the genus level) or are collapsed when the phylogeny is truncated by a given roottotip distance (Figure 1, Figure 1—figure supplement 1). The relative abundance of group $g$ in site $j$ is defined as $x}_{g,j}=\sum _{i\in g}{x}_{i,j$.
We found that even minor degrees of coarsegraining had a drastic effect on the total number of community members within an environment, reducing global richness by ∼90% even at just the genus level (Figure 1—figure supplement 2a). By coarsegraining over a range of phylogenetic distances, we found that the fraction of coarsegrained community members comparable to that of genuslevel coarsegraining occurred at a roottotip phylogenetic distance of ∼0.1 (Figure 1—figure supplement 2b). This distance translated to only ∼3% of the total distance of the tree, meaning that the majority of OTUs were coarsegrained over a minority of the tree. This pattern was likely driven by the underlying structure of microbial phylogenetic trees, where most community members have short branch lengths (O’Dwyer et al., 2015). This result suggests that while coarsegraining communities to the genus or family level substantially reduces global richness, it does so without coarsegraining the majority of the evolutionary history captured by the phylogeny. Assuming that phylogenies capture ecological changes that occur over evolutionary time, this detail implies that ecological divergence that is captured by the phylogeny should be retained even when communities are considerably coarsegrained.
With our coarsegraining procedures established, we proceeded with our macroecological investigation. Recent efforts have found that the distribution of abundances of a given ASV/OTU maintained a consistent statistically similar form across independent sites and time, a pattern known as the Abundance Fluctuation Distribution (Grilli, 2020; Zaoli and Grilli, 2021; Zaoli et al., 2022; Shoemaker, 2023a; Wolff et al., 2023). By coarsegraining empirical AFDs and rescaling them by their mean and variance across sites (i.e. standard score), we found that AFDs from the human gut microbiome retained their shape across phylogenetic scales (Figure 2a). This pattern of invariance held across environments for both phylogenetic and taxonomic coarsegraining (Figure 2—figure supplement 1, Figure 2—figure supplement 2), suggesting that empirical AFDs can likely be described by a single probability distribution.
It has been previously demonstrated that empirical microbial AFDs are welldescribed by a gamma distribution that is parameterized by the mean relative abundance $\overline{x}}_{i$ and the shape parameter $\beta}_{i}=\frac{{\overline{x}}_{i}^{2}}{{\sigma}_{i}^{2}$ (equal to the squared inverse of the coefficient of variation Grilli, 2020). This distribution can be viewed as the stationary distribution of a SLM of growth, a mathematical model that successfully captures macroecological patterns of microbial communities across both sites and time (Grilli, 2020; Descheemaeker and de Buyl, 2020; Zaoli and Grilli, 2021; Equation 5 in Materials and methods).
Using this result, we determined whether the gamma distribution sufficiently characterized coarsegrained AFDs. In order to accomplish this task, it is worth noting that we do not directly observe $x}_{i$. Rather, our ability to observe a community member is dependent on sampling effort (i.e. total number of reads for a given site). To account for sampling, one can derive a form of the gamma distribution that explicitly accounts for the sampling process, obtaining the probability of obtaining $n$ reads out of $N$ total reads belonging to a community member (Materials and methods, Grilli, 2020). Given that $n=0$ for a community member, we do not observe, we defined the fraction of $M$ sites where a community member was observed (i.e. occupancy, $o}_{i$) as
We then compared this prediction to observed estimates of occupancy to assess the accuracy of the gamma distribution across coarsegrained thresholds. We found that Equation 1 generally succeeded in predicting observed occupancy across phylogenetic and taxonomic scales for all environments (Figure 2—figure supplement 3, Figure 2—figure supplement 4). We then determined whether the gamma distribution was capable of predicting the relationship between macroecological quantities. One such relationship is that the occupancy of a community member should increase with its mean abundance, known as the abundanceoccupancy relationship (Gaston et al., 2000). This pattern has been found across microbial systems (Shade et al., 2018; Sloan et al., 2007; Burns et al., 2016) and can be quantitatively predicted using the gamma distribution (Grilli, 2020). We see that this relationship is broadly captured across taxonomic and phylogenetic scales for all environments (Figure 2b, Figure 2—figure supplement 5, Figure 2—figure supplement 6). This result implies that the ability to observe a given taxonomic group was primarily determined by its mean abundance across sites and the sampling effort within a site, regardless of one’s scale of observation. In contrast, under the assumption of demographic indistinguishability under the UNTB we would expect the mean abundance distribution to be extremely narrow, following a delta distribution. Under the SLM, the variation in mean relative abundances we observed implies that the carrying capacities of community members vary over multiple orders of magnitude. We also note that at high mean abundances our predictions show slight variation, which is likely driven by variation in the shape parameter $\beta$ (Figure 2b). In contrast with these results, the gamma distribution was unable to predict the variance of occupancy under both taxonomic and phylogenetic coarsegraining (Equation 11; Figure 2—figure supplement 7, Figure 2—figure supplement 8), the implications of which we will address in a later section.
To quantitatively assess the accuracy of the gamma distribution we calculated the relative error of our mean occupancy predictions (Equation 12) for all coarsegraining thresholds. We found that the mean logarithm of the error only slightly increased for the initial taxonomic and phylogenetic scales, where it then exhibited a sharp decrease across environments (Figure 2—figure supplement 9). The error then only began to decrease once the community became highly coarsegrained, harboring a global richness (union of all community members in all sites for a given environment) <20. This result means that, if anything, the accuracy of the gamma distribution only improved with coarsegraining.
Reconciling coarsegraining and the predictions of the gamma distribution
The consistent predictive success of the gamma distribution under coarsegraining raises the question of why it remains a sufficient null model. The sum of independent gammadistributed random variables only returns a gamma through analytic calculation if all random variables have identical rate parameters ($\beta}_{i}/{\overline{x}}_{i}=\beta /\overline{x$), a requirement that microbial communities clearly do not meet since they typically harbor broad mean abundance distributions. Given that, a gamma AFD cannot predict the distribution of correlations between AFDs (Grilli, 2020), it is first worth examining whether the degree of dependence between AFDs shapes coarsegrained variables. We first consider the relation between the variance of the sum and the sum of variances.
By plotting $\mathrm{V}\mathrm{a}\mathrm{r}(\sum _{i}^{{S}_{\mathrm{t}\mathrm{o}\mathrm{t}}}{x}_{i})$ against $\sum _{i}^{{S}_{\mathrm{t}\mathrm{o}\mathrm{t}}}\mathrm{V}\mathrm{a}\mathrm{r}({x}_{i})$ across coarsegrained thresholds, we found that the contribution of covariance to individual coarsegrained taxa was weak, suggesting that the statistical moments at higher scales can be approximated by those at lower scales (Figure 2—figure supplement 10, Figure 2—figure supplement 11). Similar conclusions can be drawn by plotting the variances as a ratio, with slight deviations above a ratio of one, suggesting that coarsegrained variance was slightly higher (Figure 2—figure supplement 12, Figure 2—figure supplement 13). These results are consistent with previous efforts demonstrating that the strongest correlations between AFDs are typically concentrated among pairs of closely related community members (i.e. low phylogenetic distance) (Sireci et al., 2023), implying that the effects of correlation should dissipate when communities are coarsegrained. Given that the variance of the sum can be approximated by the sum of the variances and that, by definition, the mean of a sum is the sum of the means, it is reasonable to propose that the statistical moments of coarsegrained AFDs are sufficient to characterize the distribution.
Finally, while we know of no general closedform solution for the sum of independent gammadistributed random variables with different rate parameters (equivalent to considering the convolution of many AFDs with different carrying capacities), progress has been made towards obtaining suitable approximations (Stewart et al., 2007; Murakami, 2015; Hu et al., 2020; Behme and Bondesson, 2017; Barnabani, 2017). This body of work includes an analysis demonstrating that a single gamma distribution can provide a suitable approximation to the distribution of the sum of many gamma random variables with different rate parameters (Covo and Elalouf, 2014). In summary, the gamma distribution appears to successfully captures patterns of biodiversity under taxonomic and phylogenetic coarsegraining because the sum of multiple gamma distributions can be approximated by a single gamma distribution.
Predicting measures of richness and diversity within a coarsegrained scale
Given that the presence or absence of a community member is used to estimate community richness, a measure previously used to make claims about patterns of microbial diversity across taxonomic scales (Madi et al., 2020), we can visualize the sufficiency of the gamma distribution by predicting the mean richness within an environment at a given coarsegrained scale (Equation 13a). Likewise, we can use the entirety of the distribution of read counts to predict the diversity within a site, a measure that reflects richness as well as the distribution of abundances within a community (Equation 14a), analytic predictions that we validated through simulations (Figure 3—figure supplement 1). We note that we observe consistent deviations between the analytic predictions of the variance of diversity and simulation results. These deviations are likely driven by small deviations in predictions of the second moment of diversity, which are slight for individual community members, but become considerable when terms are summed over hundreds or thousands of community members.
Focusing on the human gut microbiome as an example, we found that we can predict the typical richness of a community across phylogenetic scales using the gamma distribution (Figure 3a). Similar results were obtained when we repeated our analysis for predicted diversity (Figure 3b). By examining all nine environments we found that despite the dissimilarity in environments, we were able to predict mean richness and diversity in the face of coarsegraining (Figure 3c and d). In contrast, the UNTB failed to predict richness (Figure 3—figure supplement 3). The results of this analysis suggest that the composition of microbial communities remained largely invariant under coarsegraining and that the gamma distribution remained a suitable null model for predicting mean community measures across coarsegrained scales. Identical results were obtained for taxonomic coarsegraining (Figure 3—figure supplement 2).
Turning to higherorder moments, we examined the variance of richness and diversity across sites. Using a similar approach that was applied to the mean, we derived analytic predictions for the variance (Equation 17a). With the human gut as an example, we see that analytic predictions typically fail to capture estimates of variance obtained from empirical data for phylogenetic coarsegraining (Figure 4a and b). This lack of predictive success was consistent across environments (Figure 4c and d), implying that a model of independent community members with gammadistributed abundances was insufficient to capture the variance of measures of biodiversity. A major assumption made in our derivation was that community members are independent, an assumption that is unjustified given that the gamma distribution has been previously shown to be unable to capture the empirical distribution of correlations in the AFDs of community members (Grilli, 2020). To attempt to remedy this failed prediction, we again turned to the law of total variance by estimating the covariance of richness and diversity from empirical data and adding the covariance to the predicted variance for each measure. We found that the addition of this empirical estimate was sufficient to predict the observed variance in the human gut (Figure 4a and b) as well as across environments (Figure 4e and f), implying that the underlying model is fundamentally correct for predicting the first moment of measures of biodiversity but cannot capture the correlations necessary to explain higher statistical moments such as the variance. Identical results were again obtained with taxonomic coarsegraining (Figure 4—figure supplement 1).
Predicting patterns of richness and diversity between fine and coarsegrained scales
Our predictions of the statistical moments of richness and diversity using the gamma distribution provided the foundation necessary to investigate macroecological patterns between different taxonomic and phylogenetic scales. One such prominent pattern is the relationship between the finegrain richness/diversity within a given coarsegrained group vs. the coarsegrained richness/diversity among all remaining groups (e.g. the number of classes within Firmicutes vs. the number of phyla excluding the phylum Firmicutes), a pattern that has been purported to demonstrate the existence of DBD processes in microbial systems. Before continuing, we note that the acronym DBD technically refers to the hypothesis that such positive relationships reflects the existence of ecological interactions through which coarsegrained diversity bolsters the accumulation of finegrained diversity (e.g. niche construction Laland et al., 1999; San Roman et al., 2018). Since we are primarily interested in the predictive power of an empiricallyvalidated null model of biodiversity, we distinguish between DBD as a hypothesis and DBD as an empirical pattern by referring to the slope as the fine vs. coarsegrained relationship throughout the remainder of this manuscript.
The fine vs. coarsegrained relationship can be quantified as the slope of the relationship between the finegrained richness within a given coarsegrained group $g$ ($S}_{g,m$) and the richness in the remaining $G1$ coarsegrained groups: $S}_{g,m}\propto \alpha {S}_{G\setminus g,m$, where $G\setminus g$ denotes the exclusion of group $g$ and $\alpha$ is the slope of the relationship. This formulation was proposed by Madi et al., and to ensure commensurability we adopted it here (Madi et al., 2020). Furthermore, keeping with the approach used by Madi et al., fine and coarsegrained measures were compared across increasing taxonomic and phylogenetic scales (e.g. OTU vs. genus, genus vs. family, etc.), (Madi et al., 2020). Using Equation 1, we then defined each of these estimators in terms of the sampling form of the gamma distribution while accounting for sampling
Similarly, we used Equation 14a to derive predictions for fine and coarsegrained diversity.
By repeating this calculation for all $M$ sites, we obtained vectors of coarse and finegrained richness estimates for group $g$ from which we inferred the slope of the fine vs. coarsegrained relationship through ordinary least squares regression. By repeating this process for all $G$ groups we obtained a distribution of slopes that can be directly compared to those obtained from empirical data. We include a conceptual diagram visualizing this process as a supplement (Figure 5—figure supplement 1).
Before performing a direct comparison, we first note the features of the empirical slopes and how they pertain to the predictions we obtained. By examining the distribution of empirical slopes pooled over all coarsegraining thresholds for each environment, we found that they were rarely less than zero (Figure 5a, Figure 5—figure supplement 2a). The few negative slopes inferred from empirical data were extremely small, having absolute values <10^{−4} and could be treated as zeros. Furthermore, the distribution of slopes follows the same form across environments, suggesting that the slope of the fine vs. coarsegrained relationship reflects a general feature of community sequence data rather than the ecology of specific environments. Like the empirical slopes, the gamma distribution virtually always predicted a positive slope for all environments for both taxonomic and phylogenetic coarsegraining. This paucity of negative slopes suggests that the prediction of the alternative to the DBD hypothesis, the Ecological Controls hypothesis (Schluter and Pennell, 2017), is virtually absent in empirical data and cannot be generated from an empirically validated null model of microbial biodiversity.
However, only observing positive slopes does not necessarily provide support for the DBD hypothesis. A direct comparison of slopes predicted from the gamma distribution to those inferred from empirical data is necessary to determine whether the predictions of DBD lie outside what can be reasonably captured by an interactionfree model such as the SLM. To evaluate the novelty of the slope of the fine vs. coarsegrained relationship we compared the values of observed slopes to those obtained from the interactionfree SLM. We found that the predictions of the gamma distribution closely matched the observed slopes across environments for both taxonomic and phylogenetic coarsegraining (Figure 5—figure supplement 3, Figure 5—figure supplement 4). We consolidated these results by taking the mean slope for a given coarsegrained scale, from which we see that the mean slope predicted by the gamma distribution does a reasonable job capturing empirical slopes across environments (Figure 5b, Figure 5—figure supplement 2b). These results indicate that we should expect to see a positive relationship between richness estimates at different scales and that the relationships we observe can be quantitatively captured by a gammadistributed AFD. It is worth noting that the slope of the fine vs. coarsegrained relationship could be sufficiently predicted even though the gamma distribution only succeeded at predicting mean richness, suggesting that higherorder statistical moments, and by extension interactions between community members, are unnecessary to quantitatively capture the positive relationship observed between fine and coarsegrained estimates of richness.
As a point of comparison, we predicted the slope of the fine vs. coarsegrained relationship for richness using a UNTB model (Madi et al., 2023) (Supporting information). We found that generally, the UNTB slopes deviated from those obtained from empirical data, exhibiting far greater bias and variation around the 1:1 line than what was observed of the SLM (Figure 5—figure supplement 5, Figure 5—figure supplement 6). By examining the mean slope we found that predictions from the UNTB tended to systematically underpredict the observed slope under both taxonomic and phylogenetic coarsegraining (Figure 5—figure supplement 7). Directly comparing the mean relative error of the UNTB predictions to those of the SLM confirms these observations, as the UNTB predictions tended to have larger errors by an order of magnitude (Figure 5—figure supplement 8, Figure 5—figure supplement 9). To summarize, in contrast to the SLM, the UNTB cannot predict the slope of the fine vs. coarsegrained relationship for richness.
While richness is a widespread and versatile estimator that is commonly used in community ecology, neglects considerable information by focusing on presences and absences instead of the entirety of the distribution of abundances. To rigorously test the predictive power of the gamma distribution it was necessary to evaluate the fine vs. coarsegrained relationship for diversity. We again found that disparate environments had similar distributions of slopes from empirical data (Figure 5c, Figure 5—figure supplement 2c), suggesting that the slope of the relationship is likely a general property of microbial communities rather than an environmentspecific pattern. However, unlike richness, diversity predictions obtained from the gamma distribution generally failed to capture observed slopes, as the squared correlation between observed and predicted slopes can be less than that of richness by over an order of magnitude (Figure 5d, Figure 5—figure supplement 10, Figure 5—figure supplement 11, Figure 5—figure supplement 2d). Here, we see where the predictions of an interactionfree SLM succeeded and failed to predict observed macroecological patterns.
Given that the gamma distribution failed to predict the observed diversity slope, it is worth evaluating whether additional features could be incorporated to generate successful predictions. A notable omission is that there is an absence of interactions between community members in the SLM, meaning that we were unable to predict correlations between community member abundances. However, while considerable progress has been made (e.g. Ho et al., 2022), predicting the observed distribution of correlation coefficients between community members while accounting for sampling remains a nontrivial task. Given that the gamma distribution succeeded at predicting other macroecological patterns, we elected to perform a simulation where a collection of sites was modeled as an ensemble of communities with correlated gammadistributed AFDs with the means, variances, correlations, and total depth of sampling set by estimates from empirical data (Materials and methods). By including correlations between AFDs into the simulations, the statistical outcome of ecological interactions between community members, we were able to largely capture observed fine vs. coarsegrained diversity slopes (Figure 6, Figure 6—figure supplement 1, Figure 6—figure supplement 2, Figure 6—figure supplement 3). These results suggest that rather than diversity at a finescale begetting diversity at a coarsescale, the correlations that exist at a finescale (e.g. genus) contribute to measures of biodiversity at the nearest coarsegrained scale (e.g. family), resulting in a positive relationship between measures of diversity at different scales.
Discussion
The results of this study demonstrate that macroecological patterns in microbial communities remain largely invariant across taxonomic and phylogenetic scales. By focusing on the predictions of the SLM, an interactionfree model of microbial growth under environmental fluctuations, we were able to evaluate the extent that measures of biodiversity can be predicted under coarsegraining. We were largely able to predict said measures using the same model with parameters estimated from data across scales, implying that certain macroecological patterns of microbial communities remained selfsimilar across taxonomic and phylogenetic scales. Building off of this result, we investigated the dependence of community measures between different degrees of coarsegraining, a pattern that has been formalized as the Diversity Begets Diversity hypothesis (Whittaker, 1972; Madi et al., 2020). The prediction derived from the sampling form of the gamma distribution quantitatively captured the observed slopes of the fine vs. coarsegrained relationship for richness, while it failed to capture the slope of diversity. However, introducing correlations between abundance fluctuation distribution permitted the recovery of the slope of the fine vs. coarsegrained diversity relationship.
Our richness results complement past work demonstrating that occupancy, the constituent of richness, is highly dependent on two parameters: sampling depth (i.e. total read count) and the mean abundance of a community member (Grilli, 2020). Our ability to predict the relationship between fine and coarsegrained measures of richness using the gamma distribution, despite our inability to predict the variance of richness, suggest that correlations driving the slope of the fine vs. coarsegrained relationship is primarily driven by the effects of finite sampling. This past work, and the relationships between the mean abundance and occupancy evaluated in this manuscript, demonstrate that occupancy alone is unlikely to contain ecological information that is not already captured by the distribution of abundances across sites (i.e. the AFD). Our analyses of the relationship between fine and coarsegrained richness support this conclusion, as predictions derived from a gamma distribution quantitatively captured the observed slope. The success of an interactionfree model in predicting the slope of the fine vs. coarsegrained relationship is an indictment of the appropriateness of estimators that rely solely on the presence of a community member for identifying novel macroecological patterns, a measure that has been used to bolster support for the DBD hypothesis at the level of 16S rRNA amplicons as well as strains (Madi et al., 2020; Madi et al., 2023). Rather, estimates of richness harbor little information about the dynamics of a community across taxonomic and phylogenetic scales that is not already captured by the sampling form of the gamma distribution. Contrasting with richness, the predictions of diversity from the gamma distribution were unable to capture fine vs. coarsegrained relationships in empirical data. Given that measures of diversity incorporate information about the richness and evenness of a community (Magurran, 2004), the comparative deficiency of our predictions for fine vs. coarsegrained diversity suggests that forms of the SLM that neglect interactions between community members cannot capture relationships between phylogenetic/taxonomic scales that depend on the evenness of the distribution of abundances.
Macroecological patterns are not imbued with mechanistic explanation (Warren et al., 2022). Rather, the onus is on the investigator to identify plausible mechanisms. Often in ecology this task is made easier by evaluating whether a model lacking a particular mechanism is capable of producing the observed pattern, that is, identifying an appropriate null. The novelty of the fine vs. coarsegrained relationship was previously assessed using a null model which assumed demographic equivalence among community members and community dynamics driven by demographic noise (i.e. the UNTB) (Madi et al., 2020; Alonso and McKane, 2004). Empirical patterns of microbial abundance cannot be reasonably captured by such models, making predictions obtained from the UNTB invalid for evaluating the novelty of microbial macroecological patterns. In contrast, models that combine selflimiting growth with environmental noise reproduces several empirical patterns, making the SLM an appropriate choice for evaluating the novelty of fine vs. coarsegrained relationships (Grilli, 2020; Descheemaeker and de Buyl, 2020). This is not a trivial detail, as there is historical precedence on the need to identify an appropriate null in order to investigate how fine and coarsegrained measures of biodiversity relate to one another, as one of the earliest adoptions of null model analysis in ecology was done to investigate the ratio of species to genera in a community (Williams, 1947; Smith et al., 2014).
In this study, the predictions of the sampling form of the gamma distribution considerably improved when correlations between community members were included. This result suggests that rather than exclusively pointing to niche construction as previously suggested (Madi et al., 2020), any ecological mechanism that can capture the observed distribution of correlation coefficients is a plausible candidate. Given that models of consumerresource dynamics have succeeded in capturing macroecological patterns (Chesson, 1990; Cui et al., 2021), including quantitatively predicting the distribution of correlation coefficients (Ho et al., 2022), it is reasonable to suggest that such mechanisms are ultimately responsible for the relationship between fine and coarsegrained measures of diversity and can be reduced to phenomenological models such as the SLM. Indeed, experimental investigations of the slopes evaluated here have found the existence of positive slopes in artificial communities maintained in a laboratory setting, where the strength of the correlation between fine and coarsegrained scales is driven by the secretion of secondary metabolites (Estrela et al., 2022). This mechanism, known as crossfeeding, can be viewed as compatible with the concept of niche construction (San Roman et al., 2018) as well as with the original interpretation of Madi et al., 2020.
In the interest of providing macroecological insight into the DBD hypothesis, we solely focused on coarsegraining procedures that relied on phylogenetic reconstruction and taxonomic assignment. However, it is worth noting that it is also possible to coarsegrain community members by the strength of their correlations (i.e. sum the abundances of each pair of community members with the strongest correlation in AFDs). This procedure has been named the phenomenological renormalization group method due to its ability to identify if and where a system is stable despite knowing little about the system’s dynamics (i.e. fixed points in nonlinear systems) (Nicoletti et al., 2020; Meshulam et al., 2019). However, given that the AFD correlation between two community members is often inversely related to their phylogenetic distance, such an analysis would likely be redundant, as coarsegraining based on the strength of correlation would effectively coarsegrain the most closely related community members (Sireci et al., 2023).
A major goal of this study was to evaluate the novelty of macroecological patterns that were used to bolster support for the DBD hypothesis. We used the same dataset in order to ensure generality and commensurability with past research efforts. However, it is worth inspecting how the use of a global survey dataset constrains the inferences one can make. Throughout this study, we implicitly assumed that an ensemble approach is valid, meaning that we viewed different sites/hosts as virtual copies of a given environment. This assumption can remain valid for timeseries studies where the distribution of microbial abundances remains stationary with respect to time (Faith et al., 2013), as the stationary solution of the SLM has successfully characterized microbial community timeseries at both the level of OTUs (Grilli, 2020) and strains (Wolff et al., 2023). Given these past results, we predict that the fine vs. coarsegrained relationship results presented here will remain valid in longitudinal studies where community members fluctuate around a single point with respect to time.
Materials and methods
Data acquisition and processing
Request a detailed protocolTo ensure that our analyses were generalizable across ecosystems and commensurate with prior DBD investigations, we used amplicon sequence data from the V4 region of the 16S rRNA gene generated and curated by the Earth Microbiome Project (Thompson et al., 2017; Madi et al., 2020). We restricted our analysis to the quality control (QC)filtered subset of the EMP, which was annotated using the closedreference database SILVA (Quast et al., 2013) and consists of 96 studies culminating in 23,828 total samples with each processed sample having ≥10,000 reads. We downloaded the public Silva reference tree for OTUs with 97% similarity 97_otus.tre from the EMP database. We identified nine heavily sampled environments in the metadata file emp_qiime_mapping_qc_filtered.tsv and selected 100 random sites from each environment. Summary statistics for each environment are provided (Table 1, Table 2).
We briefly note that our occupancy and richness predictions depend on the form of the gamma distribution that explicitly accounts for sampling as a multinomial process. The multinomial distribution describes the probability of sampling $n$ reads given a relative abundance of $x$ and total read count $N$ with replacement, a process we can model as the Poisson limit of a binomial sampling process for individual community members. Given this choice and the past success of the gamma distribution, we deviated from past analyses by electing to not subsample read counts to the same depth, as the process of sampling without a replacement would bias the sampling distribution for rare community members (Madi et al., 2020).
Coarsegraining protocol
Request a detailed protocolTaxonomic coarsegraining was performed as the summation of the abundances of all OTUs within a given taxonomic group. We removed taxa with indeterminate labels to prevent potential biases due to taxonomic misassignment, (e.g. ‘uncultured,’ ‘ambiguous taxa,’ ‘candidatus,’ ‘unclassified,’ etc.). Manual inspection of EMP taxonomic annotations revealed a low number of OTUs that had been assigned the taxonomic label of their host (e.g. Arachis hypogaea (peanut)). These marked OTUs were removed from all downstream analyses.
Phylogenetic coarsegraining was performed using the phylogenetic tree provided by SILVA 123 97_otus.tre in the EMP release. Each internal node of a phylogenetic tree was collapsed if the mean branch lengths of its descendants was less than a given distance. All phylogenetic operations were performed using the Python package ETE3 (HuertaCepas et al., 2016).
Deriving biodiversity measure predictions
Request a detailed protocolWhile the gamma distribution as the stationary solution of the SLM and the sampling form of the gamma distribution have been previously derived (Grilli, 2020), we briefly outline relevant derivations here for the convenience of the reader before deriving the predicted richness and diversity of a community. We define the SLM as the following Langevin equation
Here $\tau}_{i$, $K}_{i$, and $\sigma}_{{\tau}_{i}$ represent the timescale of growth, the carrying capacity, and the coefficient of variation of growth rate fluctuations, respectively. Multiplicative environmental noise is captured by the product of a linear frequency term, the coefficient of variation of growth rate fluctuations, and a Brownian noise term $\eta (t)$ that introduces stochasticity into the equation. The expected value of $\eta (t)$ is $\u27e8\eta (t)\u27e9=0$ (Gardiner, 2009). The dependence of $\eta ({t}^{\mathrm{\prime}})$ at time $t}^{\mathrm{\prime}$ on an earlier time $\eta (t)$ is defined as $\u27e8\eta (t)\eta ({t}^{\mathrm{\prime}})\u27e9=\delta (t{t}^{\mathrm{\prime}})$(Gardiner, 2009). This standard definition means that if the noise term is shifted in time, it has zero correlation with itself. We briefly note that because DBD patterns were originally investigated by Madi et al., using an ensemble of sites that belong to the same type of ecosystem rather than the time series of a single site (Madi et al., 2020), the gamma distribution alone does not prove the validity of the SLM nor does it prove alternatively formulated stochastic differential equations of ecology that also predict a gamma distribution (e.g. George and O’Dwyer, 2022). However, given that the SLM has successfully characterized the temporal dynamics of microbial communities, we believe that this model is an appropriate formulation for investigating DBD patterns (Grilli, 2020; Wolff et al., 2023; Descheemaeker and de Buyl, 2020).
In contrast to the SLM, macroecological predictions can be derived from the UNTB. There are many forms of the UNTB, but the novelty of observed fine vs. coarsegrained relationships was assessed using a form of the UNTB that predicts that the distribution of community member abundances within a given site follows a zerosum multinomial distribution (Alonso and McKane, 2004; Madi et al., 2020). For the convenience of the reader the predicted richness using the form of the UNTB relevant to this study has been rederived (Supporting information).
The stationary distribution of the SLM can be derived using the Itô ↔ FokkerPlanck equivalence and solving for the stationary solution (Grilli, 2020; Engen and Lande, 1996), resulting in the gammadistributed AFD. Through the SLM, we can define the mean relative abundance and its squared inverse coefficient of variation as ${\overline{x}}_{i}={K}_{i}\left(1\frac{{\sigma}_{{\tau}_{i}}}{2}\right)$ and $\beta}_{i}=\frac{2{\sigma}_{{\tau}_{i}}}{{\sigma}_{{\tau}_{i}}$, respectively. These are parameters that were estimated from the empirical data and were used below to obtain predictions. Using these definitions and the stationary distribution of Equation 5, we obtained the gamma distribution
When we sequence microbial communities, one obtains read counts rather than actual abundances. Therefore, it is necessary to account for the reality of sampling when we apply to empirical data. We can account for sampling by first assuming that the probability of observing a single community member can be modeled as a binomial sampling process. Given that the total number of reads is typically large ($N\gg 1$) and the typical relative abundance of a community member is much smaller than one (${x}_{i}\ll 1$), the binomial can be approximated as a Poisson sampling process with the following probability of sampling $n$ reads
This formulation of the sampling process is convenient, as it can be used to obtain an analytic solution for the probability of observing $n$ reads given $\overline{x}}_{i$ and $\beta}_{i$, the parameters we estimate from the data. This distribution can be obtained by solving the convolution of the Poisson and the gamma distribution (Grilli, 2020). The resulting distribution can be considered a negative binomial distribution if sites have identical sampling depths (Fisher, 1941). Using this distribution, we calculated the probability of obtaining $n}_{m$ reads out of a total sampling depth of $N}_{m$ for the ith OTU in sample $m$ as
This distribution requires two parameters that can be estimated from the data ($\overline{x}}_{i$ and $\beta}_{i$) and one parameter that is known (total number of reads, $N}_{m$). This equation will be used to obtain predictions of measures of biodiversity. First, noticing that the probability of a community member’s absence is the complement of its presence, we can define the expected occupancy of a community member across $M$ sites as
And the second moment of occupancy as
from which we defined the predicted variance of occupancy
The success of our predictions was assessed using the relative error.
Using the definition of occupancy from the sampling form of the gamma distribution, we derived the expected richness of a community as
where $S}_{\mathrm{t}\mathrm{o}\mathrm{t}\mathrm{a}\mathrm{l}$ is the total number of observed community members. Similarly, we derived the expected value of Shannon’s diversity (Magurran, 2004).
In physics parlance, these predictions neglect interactions between community members, also known as meanfield predictions. We then calculated the meanfield prediction of Equation 13a from empirical data. However, there is no known analytic solution for the integral inside the sum of Equation 14a. To calculate $\u27e8H\u27e9$, we performed numerical integration on each integral for each taxon in each sample at a given coarsegrained resolution using the quad() function from SciPy.
To predict the variance of each measure we derived the expected value of the second moment, assuming independence among community members. We derived the second moments of richness and diversity.
where $\delta}_{i,j$ is the Kronecker delta.
By performing an analogous series of operations, we obtained the expected value of the second moment for diversity.
Where the expected value of the second moment of the diversity term is defined as $\displaystyle \u27e8(x\phantom{\rule{thinmathspace}{0ex}}\mathrm{l}\mathrm{n}\left[x\right]{)}^{2}{N}_{m},{\overline{x}}_{s},{\beta}_{s}\u27e9={\int}_{0}^{{N}_{m}}{\left(\frac{{n}^{\mathrm{\prime}}}{{N}_{m}}\mathrm{l}\mathrm{n}\left[\frac{{n}^{\mathrm{\prime}}}{{N}_{m}}\right]\right)}^{2}$ $\cdot P({n}^{\mathrm{\prime}}{N}_{m},{\overline{x}}_{s},{\beta}_{s})d{n}^{\mathrm{\prime}}$. From which we obtained the expected value of the variance
We predicted the mean and variance of richness and diversity separately at each coarsegrained scale. Specifically, we coarsegrained the empirical data, estimate $\overline{x}}_{s$ and $\beta}_{s$ for each coarsegrained community member, and use these estimates to obtain a prediction for each measure of biodiversity.
It is worth noting why the above functions constitute predictions. To obtain values that we can compare with empirical data we estimated the mean and variance of relative abundance across sites for each community member at a given scale. These parameters were used to obtain the expected value of a communitylevel measure (e.g. richness) using a function. These functions were derived under the assumption that a given probability distribution (i.e. the gamma) provided an appropriate description of the distribution of relative abundances across sites. We then compared the expected value of a communitylevel measure to the mean value from empirical data and assessed the similarity between the two values.
Fine vs. coarsegrained relationship slope inference
Request a detailed protocolIn order to predict the relationship between the measures within a coarsegrained group and that among all remaining groups, we calculated a vector of predicted richness or diversity estimates for all sites using Equation 3a or Equation 4a within a given coarsegrained group and 3b or Equation 4b among the remaining groups. This ‘leaveoneout’ procedure was originally implemented by Madi et al., where the authors examined the slope of fine vs. coarsegrained measures of diversity as a sliding window across taxonomic ranks with both the fine and coarse scales increasing with each rank (e.g. genus:family, family: order, etc.) (Madi et al., 2020). To maintain consistency, we used the same definition for our predictions. We also extended the definition to the case of phylogenetic coarsegraining, where we compared fine and coarse scales using different phylogenetic distances while retaining the same ratio (e.g. 0.1:0.3, 0.3:0.5, etc.). Slopes were estimated using ordinary least squares regression with SciPy. Throughout the manuscript the success of a prediction was evaluated by calculating its relative error as follows: we only inferred the slope if a finegrained group had at least five members. We only examined the slopes of a given coarsegrained threshold if at least three slopes could be inferred.
Simulating communities of correlated gammadistributed AFDs
Request a detailed protocolCorrelated gammadistributed AFDs were simulated by performing inverse transform sampling. For each environment with $M$ sites, an $M\times {S}_{\mathrm{o}\mathrm{b}\mathrm{s}}$ matrix $Z$ was generated from the standard Gaussian distribution using the empirical $S}_{\mathrm{o}\mathrm{b}\mathrm{s}}\times {S}_{\mathrm{o}\mathrm{b}\mathrm{s}$ correlation matrix calculated from relative abundances. The cumulative distribution $U=\mathrm{\Phi}(Z{)}_{Gaus.}$ was calculated and a matrix of the abundances of community members across sites was obtained using the point percentile function of the gamma distribution and the empirical distribution of mean relative abundances and the squared inverse coefficient of variation of abundances: $\overline{x}={\overline{x}}_{1},{\overline{x}}_{2},\cdots ,{\overline{x}}_{{S}_{\mathrm{o}\mathrm{b}\mathrm{s}}}$, $\mathit{\beta}={\beta}_{1},{\beta}_{2},\cdots ,{\beta}_{{S}_{\mathrm{o}\mathrm{b}\mathrm{s}}}$. To simulate the process of sampling, each community of the resulting $M\times {S}_{\mathrm{o}\mathrm{b}\mathrm{s}}$ matrix of true relative abundances $X=\mathrm{\Phi}(U{)}_{\mathrm{G}\mathrm{a}\mathrm{m}\mathrm{m}\mathrm{a}}^{1}$ was sampled using a multinomial distribution with the empirical distribution of total read counts.
Appendix 1
Supporting information: Investigating macroecological patterns in coarsegrained microbial communities using the stochastic logistic model of growth
UNTB richness predictions
Below we rederive a prediction for richness using the form of the UNTB used by Madi et al., as a point of comparison to the SLM predictions derived in the main manuscript (Madi et al., 2020; Alonso and McKane, 2004). When the size of a metacommunity tends towards an asymptotic limit, the stationary distribution for community members of relative abundance $x$ approaches the following continuous distribution (Vallade and Houchmandzadeh, 2003).
where $\theta$ is Hubbell’s biodiversity parameter (also known as Fisher’s $\alpha$ Fisher et al., 1943).
Using this distribution, we can obtain an expression for the expected number of community members with $n$ sampled individuals out of a total sample size of $N$.
where $P(n;N,m,x)$ is the probability of sampling $n$ individuals of relative abundance $x$ given a total sample size $N$
where $\gamma =\frac{m(N1)}{1m}$. The function Equation S2 is known as the migrationlimited zerosum multinomial distribution (ZSM) (Alonso and McKane, 2004). As $m\to 1$, Equation S2 approaches a limiting form known as the metacommunity zerosum multinomial distribution (mZSM). The process of sampling community members under the mZSM can be represented as a binomial distribution.
Similar to our analysis using the SLM, the binomial can be approximated as a Poisson distribution.
The resulting integral can be obtained by using the change of variable $y=xN$ and rearranging terms, then approximating the upper limit of integration as infinity (since $N\gg 1$).
By rearranging terms, we obtain a gamma distribution with shape parameter $n$ and rate parameter 1. Because we integrated over a product with a gamma distribution, the variable $Y$ is a gammadistributed random variable. We can then expand term in the integral using a Taylor series around $Y=n$ and by noticing that $\displaystyle \u27e8Y\u27e9=n$ and $\displaystyle \u27e8{Y}^{2}\u27e9={n}^{2}+n$ under a gamma distribution.
We can then predict the richness of a community by summing the abundances from 1 to $N$.
This quantity represents the total observed richness of a sample from a panmictic infinite metacommunity after accounting for sampling. Predictions of mean richness over $M$ sites can then be calculated as
Simulating fine vs. coarsegrained richness slopes under the UNTB
We followed the procedure in Madi et al., to obtain fine vs. coarsegrained slopes for richness so that they could be compared to predictions obtained from the SLM (Madi et al., 2020). We simulated SADs according to the mZSM model outlined above using the rmzsm() function from the R package sads v0.4.2. We simulated 100 SADs using the empirical distribution of total read counts and the total number of observed OTUs. We set the biodiversity parameter $\theta =50$ for all environments. The SADs returned by rmzsm() contain no zeros, meaning that values of richness are identical for all UNTB SADs. In order to introduce zeros so that richness estimates could vary, we followed the procedure used in Madi et al., where each simulated SAD was rarefied to 5000 individuals. We repeated this rarefaction procedure on the empirical SADs. We then performed taxonomic and phylogenetic coarsegraining and fine vs. coarsegrained slope inference using the procedure described in the Materials and methods.
Data availability
All sequencing data used in this study was obtained from the Earth Microbiome Project (URL: https://ftp.microbio.me/emp/release1/). Processed data used to perform the analyses in this study are available on Zenodo, DOI: https://doi.org/10.5281/zenodo.7692046. All code written for this study is available on GitHub under a GNU General Public License: https://github.com/wrshoemaker/macroeco_phylo (copy archived at Shoemaker, 2023b).

ZenodoMacroecological patterns in coarsegrained microbial communities.https://doi.org/10.5281/zenodo.7692046

Earth Microbiome ProjectID release1/mapping_files. Earth Microbiome Project mapping files.

Earth Microbiome ProjectID release1/otu_info/silva_123. Earth Microbiome Project phylogeny and taxonomy.

Earth Microbiome ProjectID release1/otu_tables/closed_ref_silva. Earth Microbiome Project count data.
References

Sampling Hubbell’s neutral theory of biodiversityEcology Letters 7:901–910.https://doi.org/10.1111/j.14610248.2004.00640.x

Statistical mechanics of ecological systems: Neutral theory and beyondReviews of Modern Physics 88:035003.https://doi.org/10.1103/RevModPhys.88.035003

The microbial contribution to macroecologyFrontiers in Microbiology 5:203.https://doi.org/10.3389/fmicb.2014.00203

An approximation to the convolution of gamma distributionsCommunications in Statistics  Simulation and Computation 46:331–343.https://doi.org/10.1080/03610918.2014.963612

Diversity spurs diversification in ecological communitiesNature Communications 8:15810.https://doi.org/10.1038/ncomms15810

MacArthur’s consumerresource modelTheoretical Population Biology 37:26–38.https://doi.org/10.1016/00405809(90)90025Q

Diverse communities behave like typical random ecosystemsPhysical Review. E 104:034416.https://doi.org/10.1103/PhysRevE.104.034416

Resource–diversity relationships in bacterial communities reflect the network structure of microbial metabolismNature Ecology & Evolution 5:1424–1434.https://doi.org/10.1038/s41559021015358

Population dynamic models generating species abundance distributions of the gamma typeJournal of Theoretical Biology 178:325–331.https://doi.org/10.1006/jtbi.1996.0028

The negative binomial distributionAnnals of Eugenics 11:182–187.https://doi.org/10.1111/j.14691809.1941.tb02284.x

BookStochastic Methods: A Handbook for the Natural and Social SciencesBerlin Heidelberg: Springer.

Abundance–occupancy relationshipsJournal of Applied Ecology 37:39–59.https://doi.org/10.1046/j.13652664.2000.00485.x

Effective models and the search for quantitative principles in microbial evolutionCurrent Opinion in Microbiology 45:203–212.https://doi.org/10.1016/j.mib.2018.11.005

BookMaximum Entropy and Ecology: A Theory of Abundance, Distribution, and EnergeticsOxford: Oxford University Press.https://doi.org/10.1093/acprof:oso/9780199593415.001.0001

Null models in ecologyAnnual Review of Ecology and Systematics 14:189–211.https://doi.org/10.1146/annurev.es.14.110183.001201

Density and distribution evaluation for convolution of independent gamma variablesComputational Statistics 35:327–342.https://doi.org/10.1007/s00180019009249

BookThe Unified Neutral Theory of Biodiversity and Biogeography (MPB32)Princeton University Press.https://doi.org/10.1515/9781400837526

ETE 3: reconstruction, analysis, and visualization of phylogenomic dataMolecular Biology and Evolution 33:1635–1638.https://doi.org/10.1093/molbev/msw046

Fundamental principles in bacterial physiologyhistory, recent progress, and the future with focus on cell size control: a reviewReports on Progress in Physics. Physical Society 81:056601.https://doi.org/10.1088/13616633/aaa628

Diversity begets diversity in competition for spaceNature Ecology & Evolution 1:0156.https://doi.org/10.1038/s415590170156

Coarse graining, fixed points, and scaling in a large population of neuronsPhysical Review Letters 123:178103.https://doi.org/10.1103/PhysRevLett.123.178103

Defining coarsegrainability in a model of structured microbial ecosystemsPhysical Review X 12:12.021038.https://doi.org/10.1103/PhysRevX.12.021038

Scaling and criticality in a phenomenological renormalization groupPhysical Review Research 2:023144.https://doi.org/10.1103/PhysRevResearch.2.023144

The SILVA ribosomal RNA gene database project: improved data processing and webbased toolsNucleic Acids Research 41:D590–D596.https://doi.org/10.1093/nar/gks1219

An enormous potential for niche construction through bacterial crossfeeding in a homogeneous environmentPLOS Computational Biology 14:e1006340.https://doi.org/10.1371/journal.pcbi.1006340

Coalescent processes obtained from supercritical Galton–Watson processesStochastic Processes and Their Applications 106:107–139.https://doi.org/10.1016/S03044149(03)000280

Emergence of robust growth laws from optimal regulation of ribosome synthesisMolecular Systems Biology 10:747.https://doi.org/10.15252/msb.20145379

Macroecology to unite all life, large and smallTrends in Ecology & Evolution 33:731–744.https://doi.org/10.1016/j.tree.2018.08.005

A macroecological theory of microbial biodiversityNature Ecology & Evolution 1:0107.https://doi.org/10.1038/s415590170107

SoftwareMacroeco_Phylo, version swh:1:rev:3d0eab340cb9fdf6f3399b8f4bc23cd3674c6a72Software Heritage.

Competition theory, hypothesistesting, and other community ecological buzzwordsThe American Naturalist 122:626–635.https://doi.org/10.1086/284163

BookFoundations of Macroecology: Classic Papers with CommentariesUniversity of Chicago Press.https://doi.org/10.7208/chicago/9780226115504.001.0001

WebsiteA Simple Approximation to the Convolution of Gamma DistributionsAccessed September 19, 2023.

Deciphering functional redundancy in the human microbiomeNature Communications 11:6217.https://doi.org/10.1038/s41467020199401

Theoretical microbial ecology without speciesPhysical Review. E 96:032410.https://doi.org/10.1103/PhysRevE.96.032410

Analytical solution of a neutral model of biodiversityPhysical Review. E, Statistical, Nonlinear, and Soft Matter Physics 68:061902.https://doi.org/10.1103/PhysRevE.68.061902

The generic relations of species in small ecological communitiesThe Journal of Animal Ecology 16:11.https://doi.org/10.2307/1502
Article and author information
Author details
Funding
National Science Foundation (2010885)
 William R Shoemaker
The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.
Acknowledgements
This work was supported by the NSF Postdoctoral Research Fellowships in Biology Program under Grant No. 2010885 (WRS).
Version history
 Preprint posted: May 24, 2023 (view preprint)
 Sent for peer review: June 19, 2023
 Preprint posted: August 21, 2023 (view preprint)
 Preprint posted: December 21, 2023 (view preprint)
 Version of Record published: January 22, 2024 (version 1)
Cite all versions
You can cite all versions using the DOI https://doi.org/10.7554/eLife.89650. This DOI represents all versions, and will always resolve to the latest one.
Copyright
© 2023, Shoemaker and Grilli
This article is distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use and redistribution provided that the original author and source are credited.
Metrics

 910
 views

 77
 downloads

 1
 citations
Views, downloads and citations are aggregated across all versions of this paper published by eLife.
Download links
Downloads (link to download the article as PDF)
Open citations (links to open the citations from this article in various online reference manager services)
Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)
Further reading

 Ecology
Almost all herbivorous insects feed on plants and use sucrose as a feeding stimulant, but the molecular basis of their sucrose reception remains unclear. Helicoverpa armigera as a notorious crop pest worldwide mainly feeds on reproductive organs of many plant species in the larval stage, and its adult draws nectar. In this study, we determined that the sucrose sensory neurons located in the contact chemosensilla on larval maxillary galea were 100–1000 times more sensitive to sucrose than those on adult antennae, tarsi, and proboscis. Using the Xenopus expression system, we discovered that Gr10 highly expressed in the larval sensilla was specifically tuned to sucrose, while Gr6 highly expressed in the adult sensilla responded to fucose, sucrose and fructose. Moreover, using CRISPR/Cas9, we revealed that Gr10 was mainly used by larvae to detect lower sucrose, while Gr6 was primarily used by adults to detect higher sucrose and other saccharides, which results in differences in selectivity and sensitivity between larval and adult sugar sensory neurons. Our results demonstrate the sugar receptors in this moth are evolved to adapt toward the larval and adult foods with different types and amounts of sugar, and fill in a gap in sweet taste of animals.

 Ecology
 Epidemiology and Global Health
Zoonotic disease dynamics in wildlife hosts are rarely quantified at macroecological scales due to the lack of systematic surveys. Nonhuman primates (NHPs) host Plasmodium knowlesi, a zoonotic malaria of public health concern and the main barrier to malaria elimination in Southeast Asia. Understanding of regional P. knowlesi infection dynamics in wildlife is limited. Here, we systematically assemble reports of NHP P. knowlesi and investigate geographic determinants of prevalence in reservoir species. Metaanalysis of 6322 NHPs from 148 sites reveals that prevalence is heterogeneous across Southeast Asia, with low overall prevalence and high estimates for Malaysian Borneo. We find that regions exhibiting higher prevalence in NHPs overlap with human infection hotspots. In wildlife and humans, parasite transmission is linked to land conversion and fragmentation. By assembling remote sensing data and fitting statistical models to prevalence at multiple spatial scales, we identify novel relationships between P. knowlesi in NHPs and forest fragmentation. This suggests that higher prevalence may be contingent on habitat complexity, which would begin to explain observed geographic variation in parasite burden. These findings address critical gaps in understanding regional P. knowlesi epidemiology and indicate that prevalence in simian reservoirs may be a key spatial driver of human spillover risk.