Significance
The maintenance of biodiversity is a central theme in ecology and conservation biology. Although spatial dynamics have long been documented to influence biodiversity, coexistence theory has so far mainly focused on local communities. This not only limits the understanding of species coexistence to a single-site perspective but also largely restricts our ability to predict the impacts of habitat destruction. Here, we develop a spatially explicit competition model and derive analytical criteria for multispecies coexistence under realistic landscape configurations. By parameterizing our model using a long-term dataset of three Daphnia species in a rockpool metacommunity, we predict its possible responses to habitat destruction and temperature change. Our study provides theoretical and empirical platforms to understand multispecies coexistence in fragmented landscapes.
Keywords: coexistence criterion, Daphnia species, habitat destruction, metacommunity, temperature
Abstract
Spatial dynamics have long been recognized as an important driver of biodiversity. However, our understanding of species’ coexistence under realistic landscape configurations has been limited by lack of adequate analytical tools. To fill this gap, we develop a spatially explicit metacommunity model of multiple competing species and derive analytical criteria for their coexistence in fragmented heterogeneous landscapes. Specifically, we propose measures of niche and fitness differences for metacommunities, which clarify how spatial dynamics and habitat configuration interact with local competition to determine coexistence of species. We parameterize our model with a Bayesian approach using a 36-y time-series dataset of three Daphnia species in a rockpool metacommunity covering >500 patches. Our results illustrate the emergence of interspecific variation in extinction and recolonization processes, including their dependencies on habitat size and environmental temperature. We find that such interspecific variation contributes to the coexistence of Daphnia species by reducing fitness differences and increasing niche differences. Additionally, our parameterized model allows separating the effects of habitat destruction and temperature change on species extinction. By integrating coexistence theory and metacommunity theory, our study provides platforms to increase our understanding of species’ coexistence in fragmented heterogeneous landscapes and the response of biodiversity to environmental changes.
The coexistence of species is among the most central questions in ecology and has evoked long-standing interest among experimental and theoretical ecologists (1–3). While previous studies have advocated different hypotheses to explain species coexistence (3–7), coexistence theory provides an integrated framework to reconcile different perspectives (2, 8–11). Specifically, coexistence theory clarifies that the outcome of interspecific competition is determined by the balance of two key ecological processes: the niche difference that facilitates coexistence and the fitness difference that begets exclusion (2). This theory has been widely adopted to study species coexistence in experimental and natural communities under constant and changing environmental conditions (12–15). Yet, coexistence theory, as well as its empirical testing, has so far mainly focused on local communities, despite the fact that most species live in fragmented landscapes (16, 17). Because habitat loss and fragmentation have been identified as dominating drivers of species extinction (18, 19), this focus on local communities not only limits the understanding of species’ coexistence to a hypothetical single-site perspective but also largely restricts the practical application of coexistence theory.
Indeed, spatial processes have long been recognized as important drivers of species coexistence (20–23). By modeling the interplay of spatial dynamics and local species interactions, metacommunity theory allows the explicit incorporation of spatial characteristics, such as habitat configurations and local environmental conditions, and translates the problem of species coexistence from local communities to fragmented landscapes (20, 21, 24). However, coexistence theory and metacommunity theory have been largely disconnected in the literature. One difficulty in integrating these two theories is the complexity of realistic landscape configurations, which prevents analytical investigations on the effects of spatial processes on species coexistence. Previous metacommunity models have thus often relied on numeric approaches (25–27) or simplified assumptions ignoring habitat heterogeneity (28, 29), which lag behind spatially explicit models of metapopulations that characterize the heterogeneity and spatial configurations of habitat patches for single-species persistence (30). Hence, a tractable metacommunity theory is needed for an analytical description of species’ coexistence in the context of natural and anthropogenic fragmentation, as well as predicting biodiversity responses to habitat and environmental changes (17–19).
In this study, we develop a spatially explicit metacommunity model of multiple competing species to understand species coexistence in fragmented heterogeneous landscapes, that is, spatially separated habitats with varying conditions (e.g., patch size) and connected via species migration. Our model builds on the spatially explicit patch occupancy model of metapopulations (30), which predicts that species’ persistence in a fragmented landscape is determined by metapopulation capacity—a single metric that characterizes the impacts of habitat area and spatial arrangement on metapopulation dynamics. Despite the elegancy and tractability of the metapopulation capacity theory, it has been solely focusing on single species, a significant shortcoming in the context of the current biodiversity crisis and the understanding of species’ coexistence in general. Only very recently its possible application to multispecies communities has been recognized (e.g., in food chains; refs. 31 and 32).
Here, by integrating coexistence theory with a spatially explicit metacommunity model, we derive analytical criteria for multispecies coexistence in fragmented heterogeneous landscapes. These criteria—built upon the concept of metapopulation capacity (30)—clarify how spatial dynamics and landscape configurations affect niche and fitness differences. We then parameterize our model using long-term metacommunity data, where the dynamics of three Daphnia species have been monitored in 546 clearly delimited habitat patches (rock pools) for >35 y (33, 34). In light of our coexistence criteria, we show that interspecific trade-offs between the three Daphnia species contribute to a higher niche difference than fitness difference, and thereby facilitate coexistence. Moreover, our proposed model allows predicting the consequences of habitat destruction and temperature change on the coexistence of the Daphnia metacommunity by examining their effects on niche and fitness differences, respectively. Our theoretical results and the large-scale and long-term empirical example provide platforms for understanding multispecies coexistence in fragmented heterogeneous landscapes in particular and can be used as a quantitative tool to predict biodiversity responses to habitat changes in general.
Results
A Spatially Explicit Metacommunity Model of Competitors.
To develop a spatially explicit metacommunity model of multiple competitors, we assume that species live in a patchy landscape and that their patch dynamics are governed by local extinction and recolonization processes, which are in turn determined by species’ dynamical parameters and landscape configurations (SI Appendix, Fig. S1; ref. 28). Moreover, we also consider that species compete with each other when they cooccur locally, which alters species’ local extinction rates. Our model thus reads as
| [1] |
where is the occupancy probability of species in patch . and represent the colonization and extinction rates of species in patch , respectively, which are modeled as follows:
| [2] |
| [3] |
where is the size of patch and is the distance between patch and . and are the species-specific colonization and extinction parameters of species , respectively. , , and are, respectively, the scaling exponents of immigration, emigration and extinction rates with patch size for species (35). A positive (resp. negative) exponent indicates that the respective rate increases (resp. decreases) with increasing patch size. is the characteristic dispersal distance of species k, with a higher indicating a slower decay rate of dispersal with increasing distance. characterizes the effect of competition of species on the extinction rate of species . In sum, our model involves three types of parameters: species dynamical parameters (, ), landscape-related parameters (, , , ), and competition-related parameters () (SI Appendix, Fig. S1).
Criteria for Species Coexistence in Fragmented Landscapes.
Although our model (Eq. 1) cannot be solved analytically in general settings, we can derive criteria for multispecies coexistence when habitat patches have constant size and pairwise distance (referred to as the homogeneity assumption; see also ref. 32). Under the homogeneity assumption, we first derive the criterion of coexistence for two competing species (see Methods and SI Appendix, Appendix 1):
| [4] |
where and characterize the niche overlap (the lower the niche overlap, the higher the niche differences) and fitness ratio (no fitness differences are attained at a ratio of 1), respectively. Here, denotes the metapopulation capacity of species k, which is calculated as the leading eigenvalue of the corresponding landscape matrix: (ref. 33; see Methods).
For multiple competing species, recent work (9) has introduced a structural (geometric) approach to define analogs of niche () and fitness () differences in local communities. In our metacommunity models, these two metrics can again be structurally derived from the metapopulation capacity () and parameters governing species dynamics and competition (i.e., ; see Methods). Specifically, the “structural niche difference” is expressed as , where is an matrix with and for , and is the number of species. In turn, the “structural fitness difference” reads , where and are both vectors, with denoting the -th column of and denoting its Euclidean norm. Put simply, the structural niche difference () corresponds to the probability that a randomly chosen set of intrinsic-growth-rate parameters (i.e., ) rends the community feasible, whereas the structural fitness difference () indicates how much the set of intrinsic-growth-rate parameters deviates from having all species with the same positive abundance. To make these structural measures comparable, we propose to normalize them as and . This provides a criterion of coexistence for multiple competing species in fragmented landscapes (see Methods and SI Appendix, Appendix 2):
| [5] |
Note that this criterion (Eq. 5) is a conservative approximation and likely to underestimate the possibility of species coexistence (see SI Appendix, Appendix 2). In two-species cases, it is equivalent to Eq. 4.
To investigate whether the above approximate criteria (Eqs. 4 and 5, derived under a homogenization assumption) can be used to predict species coexistence in heterogeneous landscapes, we performed numerical simulations of Eq. 1. We did so by simulating metacommunities consisting of habitat patches with size variation mimicking empirical systems (e.g., SI Appendix, Fig. S2) and randomly distributed in the landscape. We found that our coexistence criteria predicted well the outcome of competition between two or more species (Fig. 1). For two-species cases, among the 1,620 simulated communities for which our criteria (Eq. 4) predicted coexistence, 1,618 (99.9%) could indeed coexist, and among the 380 communities for which our criteria predicted exclusion 341 (89%) indeed displayed exclusion, while the other 11% could coexist. For three-species cases, 96% of communities for which our criteria (Eq. 5) predicted coexistence can indeed coexist, and 69% of communities for which our criteria predicted exclusion indeed displayed exclusion. Thus, as expected, our criteria tended to underestimate the probability of coexistence, especially in more diverse communities (see SI Appendix, Fig. S3 for four-species cases), working as a conservative condition for coexistence.
Fig. 1.
Simulation outcomes of two (A) and three (B) competing species in fragmented heterogeneous landscapes. Each point indicates one of 2,000 simulated metacommunities, where all species coexist (black) or at least one species goes extinct (orange). The gray area represents the coexistence region predicted by our criteria (i.e., Eqs. 4 and 5). The tables below each figure show the number of simulated metacommunities (in total 2,000) that are predicted to coexist (first row) or not (second row) and that show coexistence (first column) or exclusion (second column), respectively. Detailed parameters are given in Methods.
It is worth mentioning that as the variation in patch size increased the prediction precision of our coexistence criteria on exclusion decreased but that on coexistence remained almost unchanged (SI Appendix, Fig. S4). In addition, we found that the precision of our criteria was robust to different distributions of patches (e.g., random or clustering; SI Appendix, Fig. S5). Because our deterministic metacommunity model (Eq. 1) represents a mean-field approximation of stochastic patch occupancy models, we additionally corroborated that our criteria captured well the coexistence of species with stochastic patch dynamics (SI Appendix, Fig. S6 and Appendix 3).
Application to a Daphnia Metacommunity.
To illustrate the applicability of our theoretical framework, we apply our model to characterize the dynamics of a Daphnia metacommunity, which consists of three species (Daphnia longispina, Daphnia magna, and Daphnia pulex) inhabiting rock pools along the coast of Skerry islands of the Baltic Sea (SI Appendix, Fig. S2). The patch occupancies of the three species have been monitored twice every year during 1982 to 2017 in 546 rock pools (33, 34). Early experiments using the same study system had shown that interspecific competition could increase local extinction rates of species (36). However, competition may not alter the rate of recolonization, because these species disperse passively as mediated by wind and animals (37). Such characteristics of extinction and recolonization processes make this system ideal to apply our model.
Previous studies have shown that fluctuations in summer temperature could influence the rate of recolonization (34, 38). We thus assumed that parameters governing species patch dynamics (, ) and competition () are temperature-dependent, whereas landscape-relevant parameters are assumed to be independent of temperature (see Methods). We used Bayesian methods to fit all model parameters of the discrete-time counterpart of Eq. 1 (i.e., Eq. 11; see Methods), and their posterior distributions are summarized in SI Appendix, Table S1. Overall, our model captured well the general patch occupancy at the metacommunity level (R2 > 0.67) and predicted reasonably well the extinction and colonization processes at the patch level (SI Appendix, Appendix 4).
We found that D. pulex displayed a larger colonization parameter than D. longispina and D. magna (Fig. 2A). While the colonization parameter of D. pulex decreased with temperature, those of D. longispina and D. magna both increased with temperature (see Fig. 2A). For all three species, we found that their extinction rates decreased with increasing temperature (Fig. 2B) and patch size (i.e., positive zex; Fig. 2C). The immigration rates of all three species increased with the size of the recipient patch (i.e., positive zim; Fig. 2C). The emigration rates of D. longispina and D. magna increased with the size of the source patch (positive zem), whereas that of D. pulex decreased with patch size (negative zem; Fig. 2C). These results are in line with a recent study that revealed both positive and negative area dependencies of emigration rates across a broad range of taxa (39). Besides, D. magna displayed a much larger characteristic dispersal distance (), compared with those of D. longispina and D. pulex (Fig. 2C).
Fig. 2.
Posterior distributions of species parameters for D. longispina (L), D. magna (M), and D. pulex (P). (A and B) Posterior medians and 80% credible intervals (i.e., 10% and 90% posterior quantiles) of colonization parameter and extinction parameter , along the gradient of temperature. (C) Posterior medians and 80% credible intervals of landscape-related parameters, i.e., scaling exponents of extinction rate (), immigration rate (), and emigration rate () with area, and the characteristic dispersal distance (). Note that the error bars are sometimes too small to be visible (e.g., for D. longispina and D. pulex). (D) Posterior density of metapopulation capacities (curves and shades) and posterior medians of extinction threshold () (vertical lines) for each species under temperature °C.
Based on the above parameters, we derived the posterior distributions of metapopulation capacities for the three species (Fig. 2D). Overall, D. magna had the largest metapopulation capacity due to its high emigration parameter (zem) and characteristic dispersal distance (), whereas D. pulex had the lowest metapopulation capacity due to its negative patch size dependency of emigration rate (i.e., zem < 0). For all species, their metapopulation capacities were generally higher than the respective persistence thresholds predicted by classic metapopulation theory (i.e., ; ref. 30) (Fig. 2D), suggesting that each species is able to persist on its own (i.e., in the absence of its competitors) irrespective of the temperature fluctuations.
In the presence of competitors, we found that competition could increase local extinction rates and the magnitude of such influences might change with temperature (Fig. 3A). Under lower temperatures (e.g., average summer temperature at 13 °C), competition between D. longispina and D. pulex increased the extinction rates of both species, and the competition with D. magna increased the extinction rate of D. longispina. Under higher temperatures (e.g., average summer temperature 15 °C), the extinction rate of D. magna was increased by competition with D. pulex or D. longispina, and that of D. pulex was increased by competition with D. longispina (with a higher magnitude compared with that under low temperature). We note, however, that the inclusion of competition only improved model fit slightly compared with metapopulation models without competition (SI Appendix, Appendix 4).
Fig. 3.
(A) Posterior medians and 80% credible intervals of pairwise competition strengths between the three species D. longispina (L), D. magna (M), and D. pulex (P) under different temperature conditions. The posterior median lines are solid when is significantly positive, i.e., the 10% posterior quantile is positive, and are dashed when is nonsignificant. The competition patterns under temperature °C and °C are illustrated above. (B) Niche and fitness differences of the three-species Daphnia community or its two-species subcommunities. Black crosses show the posterior medians and 80% credible intervals of the structural niche differences and fitness differences under different temperatures conditions over the study period (1982 to 2017). The blue, red, and green circles are the niche and fitness differences, respectively, between two species. The gray area indicates the predicted region for coexistence (i.e., ).
Using the inferred posterior distributions of all parameters (i.e., species dynamical, landscape- and competition-related parameters; SI Appendix, Fig. S1), we calculated our normalized structural metrics to evaluate species coexistence (Eq. 5). We found that for the three-species community or any two-species pair of Daphnia species niche differences were always greater than fitness differences, indicating that species were located in an area of coexistence across the wide range of temperature conditions experienced by this system (Fig. 3B). Compared to the whole community, the subcommunity of D. longispina and D. magna exhibited lower fitness difference because of their similarity in species dynamical and landscape-related parameters, and the subcommunity of D. magna and D. pulex exhibited higher niche difference due to their weak competition (Fig. 3B).
Next, we projected how temperature change and habitat destruction might modulate species coexistence in the three-species community, using the current landscape configuration at a temperature 15 °C—the average summer temperature after 2005—as the baseline. Our results showed that niche difference changed slightly as temperature changed, whereas fitness difference tended to increase and approach niche difference at very low and high temperature conditions (Fig. 4 A and E). However, because the fitness difference was generally lower than niche difference, the three species were predicted to coexist over a broad range of temperature changes (Fig. 4I). In comparison, we found that habitat deterioration (i.e., reducing the size of all patches proportionally) increased fitness differences while moderately decreasing niche differences (Fig. 4 B and F). This caused the extinction of D. magna when the size of all patches was reduced by 68%, followed by the extinction of D. longispina when the size of patches was reduced by 85% (Fig. 4J). Habitat loss (i.e., removal of patches) simultaneously decreased niche differences and increased fitness differences (Fig. 4 C, D, G, and H). The loss of small patches (i.e., slight decrease of total habitat area) caused the extinction of D. pulex when 65% of smaller patches were lost, but it had weak effect on the persistence of D. longispina and D. magna (Fig. 4K). Due to the different responses of species to decreases of patch area and number, a random loss of habitats (i.e., decrease in both number and total area of patches) led to the extinction of all three species when 60 to 70% patches were lost (Fig. 4L).
Fig. 4.
Changes of niche and fitness differences (A–H) and equilibrium average occupancy (I–L) of our metacommunity model parameterized by the Daphnia dataset under four scenarios of environmental changes: (A, E, and I) temperature change, (B, F, and J) habitat deterioration (i.e., sizes of all patches decrease by a same fraction), (C, G, and K) habitat loss of small patches (i.e., the habitat patches are removed one by one from the smallest), and (D, H, and L) habitat loss in a random order. In A–D, the colored lines show the responses of niche and fitness differences (their posterior medians) to environmental changes, with the black triangles indicating the current state (i.e., current habitat and temperature °C). In E–H, the posterior medians and 80% credible intervals of niche differences (blue) and fitness differences (red) are exhibited under different environmental conditions. In I–L, the solid lines represent the equilibrium species occupancy obtained by simulating Eq. 1, and the dashed lines represent similar equilibria but without interspecific competition (i.e., setting in Eq. 3). In scenarios of habitat changes, temperature is set as °C.
Discussion
Over the last two decades, major progress has been made in disentangling two ecological processes modulating species coexistence in communities of competing species: niche and fitness differences (2, 8–12). However, these advancements in coexistence theory have not been fully integrated with metacommunity theory (21, 24), limiting our understanding of how local ecological processes investigated under coexistence theory can drive multispecies dynamics in fragmented landscapes. Here, we have worked toward unifying coexistence theory and metacommunity theory. Our analytical criteria of multispecies coexistence capture the effects of spatial dynamics on analogs of niche and fitness differences via metapopulation capacity. The metapopulation capacity characterizes information of not only the physical conditions of the landscape (e.g., and ) but also how such conditions are perceived by the resident species (e.g., , , , ) (30). Using metapopulation capacity, these criteria clarify how spatial processes interact with local competition to determine coexistence of species under realistic landscape configurations. This gives a new, and hitherto largely overlooked, relevance of spatial dynamics for the maintenance of multiple competing species in fragmented heterogeneous landscapes.
In particular, on the basis of recently developed structural (geometric) approaches (9), we proposed analog and normalized metrics of niche and fitness differences, such that they are directly comparable (see Eq. 5) and useful to estimate the possibility for coexistence of two or more competitors within fragmented landscapes. We have shown one normalization approach that gives conservative criteria for coexistence (Eq. 5), but alternative normalization approaches may also be applied (see SI Appendix, Appendix 2 for details). These criteria provide tools to approximate multispecies coexistence in fragmented landscapes in both simulated and empirical metacommunities. Indeed, our normalization approach based on structural measures of niche and fitness differences may similarly be used to assess coexistence of multiple species in communities with positive and negative species interactions (40).
We applied our model to a well-studied natural metacommunity of three Daphnia species (33, 34, 41, 42) and illustrated how trade-offs between the three species facilitate their coexistence in a fragmented habitat. We found significant interspecific variation in species parameters, which contribute to reducing fitness differences and increasing niche differences (41, 43). For instance, D. pulex displayed higher colonization between nearby patches (i.e., a higher c), whereas D. longispina and D. magna showed lower colonization between nearby patches (Fig. 2A). However, D. magna exhibited a large characteristic dispersal distance (; Fig. 2C) and thus a higher colonization between far-away patches. Moreover, the emigration rate of D. magna increased dramatically with patch size (zem > 0), whereas that of D. pulex decreased with patch size (zem < 0). Such interspecific variations in spatial dynamical parameters lead to previously unrecognized trade-offs among species, which reduces differences in colonization probabilities and hence decreases fitness differences (Fig. 3B). Trade-offs also exist between spatial dynamics and competition. For instance, while D. longispina had a lower colonization parameter than D. pulex, the former exerted a strong competition and increased the local extinction rate of the latter, indicating a competition–colonization trade-off (41, 44). It is worth noting that the overall weak effect of competition on species extinction rates (Fig. 4 and SI Appendix, Appendix 4) indicates a high niche difference, possibly attributed to trade-offs in their biology, such as differences in resource use strategies of the three species (37) or differential effects of parasites and negative frequency-dependent selection (38).
By establishing the dependency of species dynamics on habitat area and temperature, our parameterized model predicted that habitat destruction imposes a severe challenge to the Daphnia community, compared with the effect of temperature change (Fig. 4). In particular, our model predicted that the three Daphnia species responded differentially to different types of habitat destruction: Whereas D. pulex was more threatened by habitat loss (e.g., decrease in the number of patches), D. longispina and D. magna were more threatened by habitat deterioration (e.g., decrease in patch size or quality) (Fig. 4). Such differential responses are in line with metapopulation theory, which predicts that species with negative size dependency of emigration rate (e.g., D. pulex in our study; Fig. 2C) are more sensitive to changes in the number of habitat patches, and those with positive size dependency (e.g., D. magna and D. longispina; Fig. 2C) are more sensitive to changes in the total area of habitat patches (39). Our model also predicted that competition could accelerate extinction risk in the face of habitat destruction by lowering the thresholds of habitat destruction causing extinction (Fig. 4). While individual species’ persistence in metapopulation networks has repeatedly been associated with patch size, patch connectivity, and global environmental change in previous studies (e.g., refs. 30 and 45), our work expands this for the realistic scenario of multiple interacting species that are subject to species-specific extinction–colonization dynamics and are competing for the same resources.
Conclusion
Our study provides a theoretical framework for increasing our understanding of the coexistence of multiple competing species in fragmented heterogeneous landscapes. By integrating coexistence theory and metacommunity theory, we studied the interplay among interspecific competition, landscape configuration, and species extinction and colonization processes in determining multispecies coexistence in a spatial context. We illustrated the implications of our theory using an empirical system and demonstrated its potential to predict the response of species’ coexistence to environmental changes. Our formalism can serve as a benchmark for future development. For instance, recent studies have suggested that competition may alter the colonization process by decreasing local population sizes (46) or imposing selection on local populations to increase dispersal propensity (47). Thus, in addition to the effect of competition on extinction processes considered in our model, future studies may incorporate the effect of competition on colonization processes. While we have focused on the coexistence of a small number of species at the metacommunity scale, future extensions to more diverse systems at broader scales (e.g., beyond the scale of dispersal) may shed new light on how coexistence mechanisms influence the spatial scaling of species diversity and species range size distributions (22, 48). Such theoretical developments will contribute to further transforming coexistence theory into a practical framework to explain species diversity in natural landscapes and predict their responses to environmental changes.
Methods
Analytical Investigations of Coexistence Criterion.
First, as in the spatially explicit patch occupancy model of single-species metapopulations (28, 33), we define the landscape matrix of species as
| [6] |
Note that is a nonnegative matrix, which has a positive leading eigenvalue . This leading eigenvalue represents the metapopulation capacity of species k (30). In single-species system, the metapopulation capacity determines the persistence of a metapopulation and its equilibrium patch occupancy: .
To derive the criterion of species coexistence for Eq. 1, we first consider a homogeneous condition where all patches have same area and pairwise distance. Under such a homogeneity assumption, the model reduces to a spatially implicit model (SI Appendix, Appendix 1):
| [7] |
where pk denotes the occupancy probability of species k in any patch. We can then provide the coexistence criterion based on the coexistence theory (2), because Eq. 7 could be rewritten in the form of generalized Lotka–Volterra competition models:
| [8] |
where , and for . In two-species systems, we define the niche overlap between species 1 and 2 as and the fitness ratio between species 1 and 2 as . The criterion for the coexistence of two competing species is thus: (2).
In multispecies systems, we can solve the feasible equilibrium of Eq. 8 as , where is a matrix and is a column vector. Let be the Jacobian matrix at , and thus the condition that is feasible and locally stable is and , where is the real part of the leading eigenvalue of . For competitive communities, we follow the structural approach developed by Saavedra et al. (9) to define niche difference and fitness difference. Specifically, the structural niche difference is defined as
| [9] |
which can be interpreted as the product of 2n and the probability that satisfies for all conditioned that follows a multivariate normal distribution with mean zeros and covariance matrix . Let be the -th column of and , where is the Euclidean norm of . The structural fitness difference is then defined as
| [10] |
which quantifies the radian between vectors and . To make structural niche and fitness differences comparable, we normalize them as and , such that an approximate coexistence criterion can be given: (see SI Appendix, Appendix 2 for details). We note that the normalization can be done with alternative approaches, and the one we use here tends to provide a conservative criterion (SI Appendix, Appendix 2).
Numerical Simulation.
We performed simulations of Eq. 1 to evaluate our criteria for species coexistence (Eqs. 4 and 5). In each simulated metacommunity, the number of species was fixed as , 3, or 4, and the number of patches was drawn with equal probability from . We simulated 2,000 replicates for each number of species (n = 2, 3, or 4). The two-dimensional coordinates of patches were drawn from uniform distributions over [0, 10] × [0, 10]. The sizes of patches () were drawn independently from log-normal distributions, i.e., , mimicking empirical systems (e.g., SI Appendix, Fig. S2). The colonization rate (), extinction rate (), and characteristic dispersal distances () were also drawn from log-normal distributions: , , and . The patch-size scaling exponents and competition strengths () were drawn from uniform distributions: , , , and .
With above parameters, we first calculated the single-species equilibrium of patch occupancy for each species k (without competition with others): . The simulated metacommunity was accepted if all species had their equilibrium () within (0.2, 0.9); otherwise, we repeated the parameter generation procedure. Once a set of valid parameters was generated, we simulated the metacommunity model (Eq. 1) for steps using MATLAB, with 20 sets of randomly generated initial values of We consider that species coexist in the metacommunity if all species persist in at least one patch (i.e., ) across all 20 sets of initial values.
Because Eq. 1 describes patch occupancy dynamics in a deterministic manner that represents mean-field approximations of stochastic patch dynamics, we also simulated the discrete-time, stochastic counterpart of Eq. 1 where local extinction and recolonization processes occur with probabilities during discrete time steps (see SI Appendix, Appendix 3 for details).
The Daphnia Metacommunity Data.
We use a long-term dataset of a Daphnia metacommunity, which consists of three species, D. longispina (L as the subscript to indicate this species), D. magna (subscript M), and D. pulex (subscript P), inhabiting 546 rock pools located on 17 rocky islands in the Tvärminne Archipelago in the Baltic Sea (33, 34). The occupancies of these rockpools for the three species have been recorded twice annually during 1982 to 2017. For each patch, two samples were collected during each year, once in spring and once in midsummer. To apply our model, we converted the two samples per year into annual presence/absence occupancy data and used to represent the occupancy of species k () in patch () at the year (). equals 1 if species is observed at least once in patch at year , and it equals 0 otherwise. The dataset includes a small fraction of missing data after 2008, which were treated as zeros. For each patch (i.e., rock pool), patch size is represented by the product of surface area and depth.
Based on climatic data from WorldClim (https://www.worldclim.org/), mean summer temperature (T) in that region was calculated by taking the average temperature from May to September during 1982 to 2017. Summer temperature is strongly positively corelated with droughts or days without rain, which is then highly correlated with the probability of Daphnia populations to go locally extinct and to trigger dispersal (34).
Bayesian Data Analysis.
We used the discrete-time, stochastic counterpart of Eq. 1 to model the occupancy dynamics of the Daphnia metacommunity and performed Bayesian statistical inference procedures to infer model parameters (49, 50). Denote as the colonization probability of species in patch at time and the extinction probability. Thus, the transient probability of occupancy during one step is
| [11] |
Based on early findings from this system (34, 38, 51), we assumed that parameters of competition, colonization, and extinction all depend on summer temperature. For species , we assumed , , and , where is the average summer temperature. The parameters in the Bayesian model were fitted using Stan (52). Four chains were run for 10,000 iterations with a warm-up period of 5,000 iterations. The prior distributions of positive parameters (, , and ) are exponential with mean 1, and those of unconstrained parameters ( and all s) are standard normal distributions. The Markov chain Monte Carlo trace plots of the parameters are shown in SI Appendix, Fig. S7 and all values are 1, indicating that the chains have well converged (50). We evaluated the model fit in terms of average patch occupancy and processes of colonization and extinction (SI Appendix, Appendix 4).
Supplementary Material
Acknowledgments
We thank Ilmari Pajunen, who initiated and led the long-term monitoring of the Daphnia system, as well as all other people who were helping with field work, in particular Christoph Haag and Frida Ben-Ami. Technical and logistic support was provided by Tvärminne Zoological Station. We also thank Wanlu Deng for helpful discussion, and two anonymous reviewers for helpful comments on an earlier version of the manuscript. This work was supported by the National Natural Science Foundation of China (grants 31988102 and 32122053). The long-term monitoring of the Daphnia system was supported by grants from the Swiss National Science Foundation to D.E. (grants 31003A_146462 and 310030B_166677). Funding to S.S. was provided by NSF grant DEB-2024349 and MIT Sea Grant Program. Funding to F.A. was provided by Swiss National Science Foundation grant 310030_197410.
Footnotes
The authors declare no competing interest.
This article is a PNAS Direct Submission.
This article contains supporting information online at https://www.pnas.org/lookup/suppl/doi:10.1073/pnas.2201503119/-/DCSupplemental.
Data, Materials, and Software Availability
Data and codes used in this paper have been deposited in Figshare (https://figshare.com/articles/software/code_SpatialCoex_zip/20329245/1) (53).
Change History
September 28, 2022: The Acknowledgments section of this manuscript has been updated to include Christoph Haag and Frida Ben-Ami.
References
- 1.Hutchinson G. E., Homage to Santa Rosalia or why are there so many kinds of animals? Am. Nat. 93, 145–159 (1959). [Google Scholar]
- 2.Chesson P., Mechanisms of maintenance of species diversity. Annu. Rev. Ecol. Syst. 31, 343–366 (2000). [Google Scholar]
- 3.Levine J. M., Bascompte J., Adler P. B., Allesina S., Beyond pairwise mechanisms of species coexistence in complex communities. Nature 546, 56–64 (2017). [DOI] [PubMed] [Google Scholar]
- 4.Tilman D., Resource Competition and Community Structure (Princeton University Press, Princeton, NJ, 1982). [PubMed] [Google Scholar]
- 5.Hubbell S. P., The Unified Neutral Theory of Biodiversity and Biogeography (Princeton University Press, Princeton, NJ, 2001). [Google Scholar]
- 6.Chase J. M., Leibold M. A., Ecological Niches Linking Classical and Contemporary Approaches (University of Chicago Press, 2003). [Google Scholar]
- 7.Vellend M., Conceptual synthesis in community ecology. Q. Rev. Biol. 85, 183–206 (2010). [DOI] [PubMed] [Google Scholar]
- 8.Letten A. D., Ke P., Fukami T., Linking modern coexistence theory and contemporary niche theory. Ecol. Monogr. 87, 161–177 (2017). [Google Scholar]
- 9.Saavedra S., et al. , A structural approach for understanding multispecies coexistence. Ecol. Monogr. 87, 470–486 (2017). [Google Scholar]
- 10.Barabás G., D’Andrea R., Stump S. M., Chesson’s coexistence theory. Ecol. Monogr. 88, 277–303 (2018). [Google Scholar]
- 11.Spaak J. W., De Laender F., Intuitive and broadly applicable definitions of niche and fitness differences. Ecol. Lett. 23, 1117–1128 (2020). [DOI] [PubMed] [Google Scholar]
- 12.HilleRisLambers J., Adler P. B., Harpole W. S., Levine J. M., Mayfield M. M., Rethinking community assembly through the lens of coexistence theory. Annu. Rev. Ecol. Evol. Syst. 43, 227–248 (2012). [Google Scholar]
- 13.Ellner S. P., Snyder R. E., Adler P. B., Hooker G., An expanded modern coexistence theory for empirical applications. Ecol. Lett. 22, 3–18 (2019). [DOI] [PubMed] [Google Scholar]
- 14.Hart S. P., Turcotte M. M., Levine J. M., Effects of rapid evolution on species coexistence. Proc. Natl. Acad. Sci. U.S.A. 116, 2112–2117 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Letten A. D., Hall A. R., Levine J. M., Using ecological coexistence theory to understand antibiotic resistance and microbial competition. Nat. Ecol. Evol. 5, 431–441 (2021). [DOI] [PubMed] [Google Scholar]
- 16.Haddad N. M., et al. , Habitat fragmentation and its lasting impact on Earth’s ecosystems. Sci. Adv. 1, e1500052 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Chase J. M., Blowes S. A., Knight T. M., Gerstner K., May F., Ecosystem decay exacerbates biodiversity loss with habitat loss. Nature 584, 238–243 (2020). [DOI] [PubMed] [Google Scholar]
- 18.Newbold T., et al. , Global effects of land use on local terrestrial biodiversity. Nature 520, 45–50 (2015). [DOI] [PubMed] [Google Scholar]
- 19.Tilman D., et al. , Future threats to biodiversity and pathways to their prevention. Nature 546, 73–81 (2017). [DOI] [PubMed] [Google Scholar]
- 20.Tilman D., Kareiva P. M., Spatial Ecology: The Role of Space in Population Dynamics and Interspecific Interactions (Princeton University Press, Princeton, NJ, 1997). [Google Scholar]
- 21.Leibold M. A., et al. , The metacommunity concept: A framework for multi-scale community ecology. Ecol. Lett. 7, 601–613 (2004). [Google Scholar]
- 22.Hart S. P., Usinowicz J., Levine J. M., The spatial scales of species coexistence. Nat. Ecol. Evol. 1, 1066–1073 (2017). [DOI] [PubMed] [Google Scholar]
- 23.Wiegand T., et al. , Consequences of spatial patterns for coexistence in species-rich plant communities. Nat. Ecol. Evol. 5, 965–973 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Leibold M. A., Chase J. M., Metacommunity Ecology (Princeton University Press, Princeton, NJ, 2017). [Google Scholar]
- 25.Shoemaker L. G., Melbourne B. A., Linking metacommunity paradigms to spatial coexistence mechanisms. Ecology 97, 2436–2446 (2016). [DOI] [PubMed] [Google Scholar]
- 26.Zhang B., et al. , Directed movement changes coexistence outcomes in heterogeneous environments. Ecol. Lett. 25, 366–377 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Ellner S. P., Snyder R. E., Adler P. B., Hooker G., Toward a “Modern Coexistence Theory” for the discrete and spatial. Ecol. Monogr., 10.1002/ecm.1548 (2022). [DOI] [Google Scholar]
- 28.Pillai P., Gonzalez A., Loreau M., Metacommunity theory explains the emergence of food web complexity. Proc. Natl. Acad. Sci. U.S.A. 108, 19293–19298 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Wang S., Loreau M., Biodiversity and ecosystem stability across scales in metacommunities. Ecol. Lett. 19, 510–518 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Hanski I., Ovaskainen O., The metapopulation capacity of a fragmented landscape. Nature 404, 755–758 (2000). [DOI] [PubMed] [Google Scholar]
- 31.Häussler J., Barabás G., Eklöf A., A Bayesian network approach to trophic metacommunities shows that habitat loss accelerates top species extinctions. Ecol. Lett. 23, 1849–1861 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Wang S., Brose U., van Nouhuys S., Holt R. D., Loreau M., Metapopulation capacity determines food chain length in fragmented landscapes. Proc. Natl. Acad. Sci. U.S.A. 118, e2102733118 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Pajunen V. I., Distributional dynamics of Daphnia species in a rock-pool environment. Ann. Zool. Fenn. 23, 131–140 (1986). [Google Scholar]
- 34.Altermatt F., Pajunen V. I., Ebert D., Climate change affects colonization dynamics in a metacommunity of three Daphnia species. Glob. Change Biol. 14, 1209–1220 (2008). [Google Scholar]
- 35.Ovaskainen O., Habitat destruction, habitat restoration and eigenvector-eigenvalue relations. Math. Biosci. 181, 165–176 (2003). [DOI] [PubMed] [Google Scholar]
- 36.Bengtsson J., Interspecific competition increases local extinction rate in a metapopulation system. Nature 340, 713–715 (1989). [Google Scholar]
- 37.Ranta E., Niche of Daphnia species in rock pools. Arch. Hydrobiol. 87, 205–223 (1979). [Google Scholar]
- 38.Altermatt F., Pajunen V. I., Ebert D., Desiccation of rock pool habitats and its influence on population persistence in a Daphnia metacommunity. PLoS One 4, e4703 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Wang S., Altermatt F., Metapopulations revisited: The area-dependence of dispersal matters. Ecology 100, e02792 (2019). [DOI] [PubMed] [Google Scholar]
- 40.Saavedra S., Medeiros L. P., AlAdwani M., Structural forecasting of species persistence under changing environments. Ecol. Lett. 23, 1511–1521 (2020). [DOI] [PubMed] [Google Scholar]
- 41.Hanski I., Ranta E., Coexistence in a patchy environment: Three species of Daphnia in rock pools. J. Anim. Ecol. 52, 263–279 (1983). [Google Scholar]
- 42.Ebert D., Hottinger J. W., Pajunen V. I., Unsuitable habitat patches lead to severe underestimation of dynamics and gene flow in a zooplankton metapopulation. J. Anim. Ecol. 82, 759–769 (2013). [DOI] [PubMed] [Google Scholar]
- 43.Kneitel J. M., Chase J. M., Trade‐offs in community ecology: Linking spatial scales and species coexistence. Ecol. Lett. 7, 69–80 (2004). [Google Scholar]
- 44.Tilman D., Competition and biodiversity in spatially structured habitats. Ecology 75, 2–16 (1994). [Google Scholar]
- 45.Hanski I. A., Gaggiotti O. E., Ecology, Genetics and Evolution of Metapopulations (Academic Press, 2004). [Google Scholar]
- 46.Hanski I., Spatial patterns of coexistence of competing species in patchy habitat. Theor. Ecol. 1, 29–43 (2008). [Google Scholar]
- 47.Fronhofer E. A., Klecka J., Melián C. J., Altermatt F., Condition-dependent movement and dispersal in experimental metacommunities. Ecol. Lett. 18, 954–963 (2015). [DOI] [PubMed] [Google Scholar]
- 48.Chisholm R. A., et al. , Species-area relationships and biodiversity loss in fragmented landscapes. Ecol. Lett. 21, 804–813 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.O’Hara R. B., Arjas E., Toivonen H., Hanski I., Bayesian analysis of metapopulation data. Ecology 83, 2408–2415 (2002). [Google Scholar]
- 50.Etienne R. S., ter Braak C. J., Vos C. C., “Application of stochastic patch occupancy models to real metapopulations” in Ecology, Genetics and Evolution of Metapopulations, Hanski I., Gaggiotti O. E., Eds. (Elsevier, 2004), pp. 105–132. [Google Scholar]
- 51.Altermatt F., Ebert D., The influence of pool volume and summer desiccation on the production of the resting and dispersal stage in a Daphnia metapopulation. Oecologia 157, 441–452 (2008). [DOI] [PubMed] [Google Scholar]
- 52.Carpenter B., et al. , Stan: A probabilistic programming language. J. Stat. Softw. 76, 1–32 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.M. Luo et al., Multi-species coexistence in fragmented landscapes. Figshare. https://figshare.com/articles/software/code_SpatialCoex_zip/20329245/1. Deposited July 19 2022. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
Data and codes used in this paper have been deposited in Figshare (https://figshare.com/articles/software/code_SpatialCoex_zip/20329245/1) (53).




