Skip to main content
PNAS Nexus logoLink to PNAS Nexus
. 2024 Mar 5;3(3):pgae047. doi: 10.1093/pnasnexus/pgae047

Interaction network rewiring and species’ contributions to community-scale flexibility

Hirokazu Toju 1,2,3,b,, Sayaka S Suzuki 4, Yuki G Baba 5
Editor: Stephen Palumbi
PMCID: PMC10914369  PMID: 38444600

Abstract

The architecture of species interaction networks is a key factor determining the stability of ecological communities. However, the fact that ecological network architecture can change through time is often overlooked in discussions on community-level processes, despite its theoretical importance. By compiling a time-series community dataset involving 50 spider species and 974 Hexapoda prey species/strains, we quantified the extent to which the architecture of predator–prey interaction networks could shift across time points. We then developed a framework for finding species that could increase the flexibility of the interaction network architecture. Those “network coordinator” species are expected to promote the persistence of species-rich ecological communities by buffering perturbations in communities. Although spiders are often considered as generalist predators, their contributions to network flexibility vary greatly among species. We also found that detritivorous prey species can be cores of interaction rewiring, dynamically interlinking below-ground and above-ground community dynamics. We further found that the predator–prey interactions between those network coordinators differed from those highlighted in the standard network-analytical framework assuming static topology. Analyses of network coordinators will add a new dimension to our understanding of species coexistence mechanisms and provide platforms for systematically prioritizing species in terms of their potential contributions in ecosystem conservation and restoration.

Keywords: biodiversity, community stability, food webs, keystone species, species coexistence


Significance Statement.

Like networks of human relations, webs of interactions between species are dynamically restructured through time. By compiling a time-series dataset including >1,000 species/strains, we quantified the magnitude of ecological network dynamics in the wild. The analytical framework developed in this study highlighted “network coordinator” species, which are keys to conserve and restore endangered ecosystems.

Introduction

In nature, numerous species form entangled webs of interactions (1), collectively driving community-scale dynamics (2–5). Since May's seminal work on the relationship between community complexity and stability (6), potential mechanisms by which species-rich communities are maintained have attracted scientists. Mathematical models with minimal assumptions basically predict that species-rich ecological communities are inherently unstable (i.e. likely to collapse after perturbation) (6, 7). However, it has been proposed that introducing key features of real ecological communities can reorganize our knowledge of how species-rich communities are maintained in natural ecosystems (8–12).

One of the key properties of ecological communities is the architecture of interaction networks (13–16). In classic mathematical models of community dynamics, interactions have been assumed between randomly selected pairs of species in a community (6, 7). Meanwhile, studies on empirical datasets of species interactions have revealed that community-scale organization of interactions is never random (13, 15, 17, 18). Theoretical studies assuming nonrandom networks have then predicted that specific types of network architecture, such as nested or compartmentalized architecture, can increase/decrease community stability (11, 19, 20). Although the application of network science has significantly promoted theories on species coexistence, the majority of studies have still relied on unrealistic assumptions about ecological interaction networks. Specifically, a fixed architecture of interaction networks has been often assumed in theoretical and empirical investigations of ecological networks.

The concept that ecological network architecture can dynamically change in nature is central to our understanding of species coexistence in real ecological communities (21–25). If a food web has a fixed (rigid) network structure, extinction or population decline of a predator species may trigger the burst of the population size of some prey species, resulting in extinctions of competing prey species and subsequent cascade extinctions through the interaction network (26–28). In contrast, if species interactions in a food web are flexible (29–33), ecological effects of the extinction of a predator species can be buffered by prey range shifts or functional responses of other predator species (12). Thus, the flexibility of interaction networks is considered as the key factor determining community stability (12, 31, 34). Nonetheless, due to difficulty in obtaining time-series datasets of species interactions, few studies have revealed how network architecture can shift through time in species-rich communities (e.g. communities with >100 species).

We here examine whether species-rich predator–prey communities can show drastic network architectural dynamics in nature. By compiling an empirical dataset involving 50 spider (predator) species and 974 prey species/strains (35), we quantitatively evaluate shifts in network architecture across 8 months. We then decompose the network architectural changes into two components, namely, network shifts due to interaction rewiring and those due to species turnover. Based on the analysis of network dynamics, we develop a framework for evaluating the extent to which respective species in a community contribute to the flexibility of network architecture. In the framework, species with high potential impacts on network flexibility are of particular interest because those species could buffer environmental perturbations for communities. Overall, we propose that insights into such “network coordinators” will reorganize our understanding of the mechanisms by which keystone species govern coexistence in species-rich communities.

Results

Analyses of network dynamics

Changes in network architecture can be evaluated based on β-diversity metrics, which are frequently used in measuring species compositional dissimilarity between local communities (25, 36, 37). When network data matrices of multiple time points or multiple local communities are available, we can calculate not only dissimilarity (β-diversity) in species (vertex) compositions (βS) but also that in interaction (edge) compositions (βINT) for each pair of community matrices (25). Dissimilarity in interactions can be then decomposed into two components, specifically, network architectural dissimilarity due to interaction rewiring (βRW) and that due to species turnover (βST) as detailed in previous studies (25, 36, 37) (see Materials and methods for details; Fig. 1A).

Fig. 1.

Fig. 1.

Evaluating dissimilarity in the architecture of species interaction networks. A) Network architectural dynamics. Both species compositions (network vertices) and interactions (network edges) can vary among communities realized at a specific time or space (“realizations”). B) Meta-networks and realizations. Compiling the information from all the realizations yields the data matrix of the meta-network including all nodes and interactions observed through a defined period of time or across metacommunities. In this study, dissimilarity (β-diversity) between realizations is designated as β, while dissimilarity between a realization and the meta-network is described as β. Subscripts of β and β represent targets of dissimilarity analyses: INT, total dissimilarity in network architecture; RW, dissimilarity in network architecture due to rewiring of species interactions; ST, dissimilarity in network architecture due to species turnover; S, dissimilarity in species compositions are represented. The contributions of each species to respective β-diversity components are evaluated as shown in the box.

In addition to comparisons between different time points or local sites, a comparison of network architecture can be performed between each community matrix representing species interactions realized at specific time or space (hereafter, realizations) and the “meta-network” matrix consisting of all the species interactions observed across the realizations (Fig. 1B). Specifically, for each pair of a realization and the meta-network, total dissimilarity in network architecture (βINT), dissimilarity in network architecture due to rewiring (βRW), and dissimilarity in network architecture due to species turnover (βST) can be calculated (25).

Based on the platform, we here propose a framework for evaluating the potential contributions of each species to the flexibility of ecological network architecture. The extent to which dissimilarity in network architecture between a realization and the meta-network can change due to interaction rewiring effects of species i is quantified as:

ΔβRW,i=βRWβRW,Δi,

where βRW is the original value of dissimilarity in network architecture due to rewiring as defined above, and βRW,Δi denotes the simulated value of dissimilarity calculated by removing species i from the dataset (Fig. 1). By definition, this ΔβRW,i index can be calculated for each species in the dataset in each pair of a realization and the meta-network. Therefore, for each species i, the maximum value of ΔβRW,i across the dataset (i.e. max(ΔβRW,i)) is used as a measure of the potential magnitude of contributions to network architectural flexibility. In addition to max(ΔβRW,i), we can calculate max(ΔβINT,i), which represents the potential magnitude of contributions to total network dissimilarity between realizations and the meta-network (see Materials and methods for details).

Transitions in network architecture

We first evaluated the extent to which network architecture could change through time by compiling the time-series dataset of predator–prey interactions in a warm-temperate grassland (35). The dataset based on high-throughput DNA metabarcoding included 50 spider (predator) species and 974 prey Hexapoda species/strains in its meta-network (Figs. 2A and S1), which consisted of eight realizations of predator–prey interaction networks observed from April to November (Fig. 2B). Because the network data included frequency information for each edge (i.e. the number of predator samples from which a focal prey was detected), we used a β-diversity metric for quantitative data in the calculations of the indices discussed above. Specifically, the Bray–Curtis metric of β-diversity was applied after converting frequency information into proportions. Thus, the term “network architecture” represents not only the presence/absence of network edges (i.e. network topology) but also the organization of interaction intensity or frequency (i.e. edge weights) in this study. This assumption of network architectural dynamics is compatible with that of theoretical studies incorporating changes in interaction coefficients (i.e. functional responses) as essential factors determining community stability (12).

Fig. 2.

Fig. 2.

Topology of spider–prey networks. A) Meta-network, including all the spider–prey interactions, observed from April to November. Spider species and prey Hexapoda OTUs are shown on the left and right, respectively. See Fig. S1 for the abbreviations of spiders and the information about prey OTUs. B) Network topology for each month. Reproduced from the time-series dataset of spider–Hexapoda interactions. Reproduced from the data of a previous study (35).

In the spider–prey system, both species (vertex) compositions (βS) and interaction (edge) compositions (βINT) continually shifted between consecutive months from April to November (Fig. 3A). In terms of network architectural shifts, not only changes due to species turnover (βST) but also changes due to interaction rewiring (βRW) played major roles. The proportion of interaction rewiring effects to total changes in network architecture (βRW/ βINT) varied from 28.6 to 61.0%, showing the lowest and highest values in April and October, respectively (Fig. 3B).

Fig. 3.

Fig. 3.

Network dissimilarity scores. A) Changes in network architecture through time. Dissimilarity in network architecture between each pair of consecutive months (e.g. from April to May) is shown for each β-diversity component. B) Ratio of interaction rewiring effects to total dissimilarity in network architecture. For each pair of consecutive months, relative contributions of interaction rewiring are evaluated by βRW/βINT. C) Dissimilarity with the meta-network. For each pair of a realization (month) and the meta-network, dissimilarity in network architecture is shown. Note that dissimilarity in network architecture (βINT) consists of dissimilarity due to interaction rewiring (βRW) and that due to species turnover (βST): i.e. βINT=βRW+βST.

Dissimilarity between each realization and the meta-network

We also found that the network architecture of each month deviated considerably from that of the meta-network (0.583 ≤ βINT ≤ 0.925; Fig. 3C). In all the months, effects of interaction rewiring (βRW) exceeded those of species turnover (βST; Fig. 3C).

Species contributions to network flexibility

Potential contributions to network flexibility (max(ΔβRW,i)) differed considerably among the spider species examined (Figs. 4A, S2, and S3). The presence of Oxyopes sertatus (Oxyopidae), which showed the highest contributions to network flexibility, was expected to increase the β-diversity component due to interaction rewiring (βRW) by 0.0587 at the maximum (Fig. 4A). Likewise, Argiope bruennichi (Araneidae) was inferred to increase βRW by 0.0387 (Fig. 4A). In addition to those species, Salticidae sp.1, Tetragnatha caudicula (Tetragnathidae), Pachygnatha tenera (Tetragnathidae), Neoscona adianta (Araneidae), and Ebrechtella tricuspidata (Thomisidae) displayed relatively high contributions to network flexibility. We also found that O. sertatus and A. bruennichi had the greatest contributions to total network dissimilarity between realizations and the meta-network (max(ΔβINT,i); Fig. S4).

Fig. 4.

Fig. 4.

Estimates of each species’ contribution to network flexibility. A) Contributions of spider species to network rewiring. The maximum value of contributions to network rewiring effects (max(ΔβRW,i)] is shown for each spider species on the vertical axis. Species with higher max(ΔβRW,i) values have higher potential impacts on the flexibility of interaction networks. The horizontal axis indicates network degree within the meta-network (Fig. S1). The network degree centrality (the number of edges connected to the target vertex [species or OTU]) was standardized by dividing the number of links by N −1, where N was the total number of vertices within the network.

Among the 974 prey species/strains, those belonging to the nonbiting midge genus Chironomus (Chironomidae; Diptera) and the springtail genus Homidia (Entomobryidae; Collembola) had the highest potential contributions to network flexibility (Figs. 4B, S2, and S3). Likewise, relatively high contributions to network flexibility were inferred for a mosquito species (Culex sp.; Diptera) and some aphid species (Aphis sp. and Sitobion sp.; Hemiptera). These prey species/strains were preyed on by various spider species (Fig. 5A), showing relatively high-degree centrality (i.e. the number of edges connected to spider species) within the network (Fig. 4B).

Fig. 5.

Fig. 5.

Species and links within a flexible network. A) Species’ contributions to network rewiring. For each spider species or prey OTU, the maximum value of contributions to network rewiring effects (max(ΔβRW,i)) is represented by vertex (node) size within the meta-network. Among the spiders, O. sertatus and A. bruennichi showed the highest contributions to network rewiring. Likewise, among the prey, OTUs of Chironomus (H_0042) and Homidia (H_0046) displayed the highest levels of contributions to network rewiring. Spiders and prey discussed in the main text are highlighted with arrows. The thickness of edges (links) indicates prey-detection counts. Network ordination was optimized with the ForceAtlas2 algorithm. B) Static vs. dynamic views on the meta-network architecture. The standardized betweenness centrality of the links within the meta-network (edge betweenness) is shown along the horizontal axis. This index represents the degree to which a given edge is located within the shortest path connecting pairs of vertices in a static network topology. In contrast, flexibility of links within the meta-network is evaluated by multiplying spider's potential contributions to network rewiring (spider's max(ΔβRW,i) value) by prey's potential contributions to network rewiring (prey's max(ΔβRW,i) value; standardized between 0 and 1; vertical axis). Only the network links that appeared in 10 or more spider samples (prey-detection counts ≥10) are shown.

Flexible network links

We next evaluated the flexibility of respective network links based on the multiplication of spiders’ potential contributions to network flexibility by those of prey (spider's max(ΔβRW,i) × prey's max(ΔβRW,i)). Within the meta-network (Figs. 5A and S5), the link between O. sertatus and a nonbiting midge (Chironomus), that between O. sertatus and a springtail (Homidia), and that between A. bruennichi and a midge (Chironomus) showed the highest levels of flexibility (Fig. 5B). Meanwhile, these network links did not have high-edge betweenness centrality, which represented the degree to which a focal edge (link) was located within the shortest paths connecting pairs of vertices within a network (38). We also found that links with the highest edge betweenness, such as Xysticus-midge (Chironomus) links and a E. tricuspidata–unidentified Diptera link, showed low flexibility scores (Fig. 5B).

Discussion

We here quantitatively evaluated the extent to which predator–prey interaction networks vary through time in the wild. Although there have been classic studies reporting entangled webs of consumer–victim interactions (33, 39–41), our study, as far as we know, is the first to evaluate the architectural flexibility of networks involving hundreds of species. As shown in this study, network architecture of predator–prey systems shifts within short time windows due to seasonal turnover of species compositions (as represented by βST) as well as due to rewiring of interactions (βRW). Without considering the flexibility of ecological networks, mechanisms determining community stability will never be fully understood. Thus, fueling feedback between empirical and theoretical studies beyond a static view of interaction networks is the starting point for reorganizing our recognition of species coexistence mechanisms.

Comparing the magnitude of network architectural shifts between different types of species interactions is of particular importance for comprehensively understanding the consequences of network dynamics. A pioneering work on plant–pollinator interactions (24) reported that total changes in network architecture could be large (βINT > 0.50) across seasonal transitions and that changes due to interaction rewiring could consistently exceed those due to species turnover (βRW > βST). In our analysis of predator–prey interactions, total changes in network architecture were large as well (βINT > 0.50), while balance between interaction rewiring and species turnover effects shifted across the seasons (Fig. 3A and B). These findings lead to the working hypothesis that flexibility in network architecture is a basic property common to mutualistic and antagonistic interactions despite potential differences in factors driving such network architectural dynamics.

Based on the time-series analysis of predator–prey interactions, we developed a framework for evaluating species’ contributions to the flexibility of ecological network architecture. Theoretical studies have predicted that predators’ adaptive food choice (30), which is represented by dynamically changing interaction coefficients in mathematical models, can aid the long-term stability of complex communities (i.e. communities with high species richness and connectance) (12). Without such adaptive foraging, community complexity is negatively associated with stability, as suggested by May's classic model (6), while with predators’ adaptive choice, complexity can promote community persistence (12). Consequently, species increasing network architectural flexibility are possibly keys to understand the reason why classic models do not explain empirical observations on the positive relationship between community complexity and stability (42).

In our analysis of spider–prey interactions, a sit-and-wait-type spider O. sertatus and a web-weaving spider A. bruennichi had much greater impacts on network flexibility than other species (Fig. 4A). Although spiders are often considered as generalist predators (43), having broad potential prey ranges does not necessarily guarantee high contributions of the species to network architectural plasticity. In other words, responsiveness to biotic/abiotic environmental changes is another essential factor to be explored through community dynamics.

Investigations of such “network coordinators” add a new dimension to the discussion of “keystoneness” in ecosystems (44). Since Paine's seminal work (3, 45), keystone species, which impose great impacts on ecosystem-level dynamics (44), have been detected based on the experimental exclusion of candidate species (28). However, pinpointing candidates for keystone species out of hundreds or thousands of species within ecosystems per se is basically an exhausting task. In this respect, network information provides bird's-eye views for exploring potential keystone species (46–48), which should be subjected to detailed experimental investigations. The framework proposed in this study is expected to highlight predators imposing flexible top-down control on diverse prey and thereby promoting species coexistence at the lower trophic level (27, 28). It is also expected to illuminate prey species buffering biotic/abiotic perturbations by being flexibly consumed by diverse predator species. In advancing the application of this network-based approach, benchmark analyses quantifying the extent to which classic examples of keystone species (e.g. sea stars in intertidal communities (3, 45)) contribute to network flexibility are awaited.

The present constraint limiting our knowledge of network architectural dynamics is the scarcity of empirical datasets covering multiple time points (25). Therefore, it is worthwhile to examine whether some network indices deriving from static network analyses can be used as proxies for the network coordinator index. In this respect, network centrality metrics, such as degree and betweenness centralities (38, 46, 47), may provide a broadly applicable platform. However, we found that species with high network centralities do not necessarily have high potential contributions to network flexibility (Fig. S4). This result suggests that time-series analyses shed new light on the organization of ecological networks and that more empirical datasets covering multiple time points are required to deepen our understanding of keystone species.

Further conceptual advances are necessary for systematically exploring species controlling ecological community dynamics and stability. Keystone species have been conventionally defined as species having disproportionately large impacts on ecosystems relative to their abundance (44). In this respect, it may be important to compare network coordinator scores among species with the same levels of abundance within a community dataset. Salticidae sp. 1 and P. tenera, for example, showed much higher values of contributions to network flexibility than other spider species with the comparable abundance (Fig. S6A). Furthermore, the assumption that keystone species can be replaced through time (35) would be an alternative basis for interpreting real community dynamics.

The guild or functional group of highlighted network coordinators is another important target of discussion. For example, the fact that possibly detritivorous prey, such as nonbiting midges (Chironomus) and springtails (Homidia), showed high contributions to network flexibility is of particular interest. This result leads to the hypothesis that stability of above-ground food webs is maintained by subsidy from below-ground ecosystems (49, 50). Thus, ecological roles of the potential network coordinators at the interface of different energy channels deserve extensive studies (50, 51). In this respect, the interactions between the network coordinator prey and network coordinator predators (O. sertatus and A. bruennichi) are keys to understand flexible linkage between above-ground and below-ground ecosystems (Fig. 5). Given that those network links with high flexibility were different from those highlighted in the standard network-analytical framework assuming static topology (Fig. 5B), analyses of network flexibility will provide novel insights into community stability and ecosystem dynamics.

Albeit informative, our approach to evaluating contributions to network flexibility currently has several limitations. First, the spider–prey interactions inferred with the DNA metabarcoding are just fractions of the entangled web species interactions in the wild (35). Thus, it is important to extend the targets of the DNA metabarcoding analysis to “external” interactions involving diverse vertebrate and invertebrate species. Second, such an extension of the approach to datasets of hyper-species-rich communities may ultimately make it difficult to calculate each species’ contribution score. Nonetheless, DNA-metabarcoding-based methods can be flexible in this respect because interaction networks can be re-defined by grouping species (or OTUs) into taxonomic groups. Such analyses with reduced complexity will highlight ecological guilds with high impacts on community dynamics and stability. Third, it is important to appreciate that the accuracy of network-based inferences depends on the completeness of the source data. Although our data included 168–441 spider individuals each month, more comprehensive datasets (e.g. datasets involving >1,000 spider samples per month) will provide more reliable inferences. Likewise, the taxonomic coverage of prey-detection analyses is an important factor potentially affecting statistical results. Although we have carefully selected PCR primers covering diverse taxonomic groups of Hexapoda through previous studies (35, 52), continual efforts should be made to increase the comprehensiveness of the network analyses. Fourth, the potential influence of background abiotic factors on network architectural dynamics needs to be examined in future studies. In this respect, the causal-inference analyses based on nonlinear mechanics (53, 54) will allow us to decipher how each species’ contributions to the interaction network structure are driven by temporal changes in abiotic factors (e.g. temperature and aridity) (47).

In the era of worldwide biodiversity loss and ecosystem degradation, highlighting keystone species is an essential task in conservation biology (26, 27, 48, 55). Considering concurrently escalating issues, such as global warming, frequent extreme weather events, and environmental pollution, prioritized conservation efforts that need to be directed to species buffering biotic/abiotic environmental changes within flexible webs of interactions. Given that high-throughput analyses of species interactions are becoming possible based on DNA metabarcoding (47), time-series analyses of interaction networks (56) will be widely applied as essential platforms in ecosystem conservation and restoration programs. Bird's-eye views for exploring network coordinator species will advance both the basic and applied sides of ecosystem sciences.

Materials and methods

Dataset

We compiled the DNA metabarcoding dataset of spiders’ prey contents in a warm-temperate grassland located at the Center for Ecological Research, Kyoto University, Japan (34°58′16.7″N 135; 57′32.3″E) (35). At the study site, spiders were haphazardly collected by sweeping with an insect net (diameter = 50 cm) on 3–5 days in the middle of each month from April to November 2018 (168–441 spider individuals per month). Note that spiders were hard to sample in winter (from December to March) due to their inactivity as well as the lack of grasses to sweep. Because all the spider individuals (>2 mm in body length) caught in the sweeping net were sampled, the collected specimens as a whole represented the species compositions of spiders at the study site in each month. In total, 2,224 spider samples representing 63 species were sampled across the eight months (35). Each spider sample was washed sequentially with distilled water, 70% ethanol, and 100% ethanol. The prey repertoires of each spider sample were then reconstructed based on the DNA metabarcoding (illumina amplicon sequencing) targeting the mitochondrial 16S rRNA region of Hexapoda (i.e. insects, springtails, etc.). Prey DNA was then detected in 1,556 out of the 2,224 spider samples examined (35). In the metabarcoding data, the presence (1) and absence (0) of each prey OTU in each spider sample (individual) were designated for each month. The information of each month was used to obtain a “species-level” matrix, in which cell entries represented the number of spider samples from which respective spider–Hexapoda OTU combinations were observed (i.e. prey-detection counts). Across the 8 months (realizations), 974 prey OTUs (defined with a 97% threshold identity of mitochondrial 16S rRNA sequences) belonging to 120 families were present in the dataset. The total number of spider–Hexapoda links was 2,247, representing 5,190 prey-detection counts (35). The network of each month (realization) and the meta-network containing all the interactions observed across the 8 months were visualized using the bipartite v.2.6-2 package of R 4.1.2.

Network dissimilarity between realizations

For a pair of ecological communities (realizations), difference in network architecture could be expressed as β-diversity of network edge (link) compositions (25). The β-diversity index representing dissimilarity in interaction network architecture (βINT) could have two additive components, namely, dissimilarity in network architecture among species that occurred in both months (i.e. dissimilarity due to network rewiring; βRW) and dissimilarity in network architecture due to differences in species compositions between the months (i.e. dissimilarity due to species turnover; βST) (24, 25). Therefore, the relationship among βINT, βRW, and βST can be expressed as:

βINT=βRW+βST. (1)

Dissimilarity in network architecture can then be calculated based on various types of β-diversity metrics. When Sørensen's metric for binary data formats, for example, is used to evaluate total dissimilarity between networks (realizations) M and N, βINT can be expressed as

βINT=b+c2a+b+c, (2)

where a denotes the number of items (network edges) commonly observed in the two networks (M and N) compared, b is the number of items unique to network M, and c is the number of items unique to network N (25). Likewise, dissimilarity in network architecture due to rewiring is calculated by redefining networks to be compared. Specifically, by focusing on network components that contain only species shared between the two networks (realizations), subset networks Mshared and Nshared are obtained. βRW is then calculated as

βRW=b+c2a+b+c, (3)

where a denotes the number of items (network edges) commonly observed in the two networks (Mshared and Nshared) compared, b is the number of items unique to network Mshared, and c is the number of items unique to network Nshared. In this framework proposed by Poisot et al (25). (hereafter, framework 1), βST is then calculated by substracting βRW from βINT, i.e.

βST=βINTβRW. (4)

This indirect estimation of βST is not guaranteed if the additivity of the β-diversity components is not met (36). Therefore, for accurately partitioning network architectural dissimilarity into effects of network rewiring and those of species turnover, an alternative framework of β-diversity calculation has been proposed (36, 37) (hereafter, framework 2). Among the studies, Fründ (36) has proposed to calculate both βRW and βST directly with Sørensen's β-diversity measure as follows:

βRW=b+c2a+b+c (5)

and

βST=bST+cST2a+b+c, (6)

where bST and cST are obtained as bb and cc, respectively. Because the two indices are calculated with the common denominator (i.e. 2a+b+c), their sum is always equal to βWN as follows:

βINT=βRW+βST=b+c+bST+cST2a+b+c. (7)

In this study, we used framework 2 for partitioning network rewiring and species turnover effects in calculating dissimilarity in interaction network architecture. Meanwhile, we performed a comparative analysis based on framework 1 as shown in Figs. S7 and S8. In both frameworks, prey-detection counts in the input data were converted into proportions using the “proportions = TRUE” option in the “betalinkr” function (36) of the R bipartite package (57). Each dissimilarity indices were then calculated based on Bray–Curtis metric of β-diversity using the “betalinkr” function.

Transitions of network architecture

Dissimilarity in network architecture through the time-series was evaluated based on the abovementioned β-diversity indices. For each pair of consecutive months (e.g. from April to May), total dissimilarity in interaction network architecture (βINT), dissimilarity in network architecture due to rewiring (βRW), and dissimilarity in network architecture due to species turnover (βST) were evaluated. In addition to dissimilarity in network architecture, dissimilarity in species compositions (βS) was calculated based on Bray–Curtis β-diversity.

Dissimilarity between each realization and the meta-network

We also calculated dissimilarity in network architecture between each realization (each month's network) and the meta-network representing all the spider–prey interactions detected across the 8 months (Fig. 1). Specifically, total dissimilarity in network architecture, dissimilarity in network architecture due to rewiring, and dissimilarity in network architecture due to species turnover were calculated as βINT, βRW, and βST, respectively, for each pair of a realization and the meta-network (Fig. 1). Likewise, dissimilarity in species compositions between a realization and the meta-network (βS) was calculated.

Species contributions to network flexibility

To evaluate the potential contributions of each species to the flexibility of network architecture, we examined the extent to which dissimilarity in network architecture between a realization and the meta-network could change due to the interaction rewiring effects of a target species. We then developed ΔβRW,i index, which was defined as follows:

ΔβRW,i=βRWβRW,Δi, (8)

where βRW was the original value of dissimilarity in network architecture due to rewiring as defined above, and βRW,Δi denoted the simulated value of dissimilarity calculated by removing species i from the dataset. By definition, this ΔβRW,i index can be calculated for each species in the dataset in each pair of a realization (month) and the meta-network. Therefore, for each species i, we used the maximum value of ΔβRW,i across the time-series (i.e. max(ΔβRW,i)) as a measure of the potential magnitude of contributions to network architectural flexibility: a positive value of max(ΔβRW,i) indicated positive contributions of a target species to network flexibility.

For further evaluation of the roles of each species in total dissimilarity in network architecture and dissimilarity through species turnover, we also calculated the contributions of species i to βINT and βST as defined below:

βINT,i=βINTβINT,Δi, (9)
βST,i=βSTβST,Δi. (10)

Likewise, contributions of species i to community compositional dissimilarity (βS) were calculated as follows:

βS,i=βSβS,Δi. (11)

The maximum values of those indices across the time-series were also calculated to evaluate the potential contributions of each species. Despite the complexity of the indices, the calculation for a network involving ca. 1,000 species usually ends within 1 h with an ordinary lap-top computer (e.g. Apple M1 CPU with 16 GB RAM).

Network centrality indices

To evaluate the extent to which each spider species or prey OTUs was located at the core position within a network, we calculated degree, betweenness, eigenvector, and closeness centrality (58). Degree centrality was defined as the number of edges connected to the target vertex (species or OTU). The obtained degree centrality was then normalized by dividing it by N   1, where N is the number of vertices within the target network. Betweenness centrality is a measure of the degree to which a given vertex is located within the shortest paths connecting pairs of other vertices in a network (38). Scores of betweenness were normalized for within each network so that they varied from 0 (occupation at marginal positions within a network) to 1 (occupation at shortest paths for all pairs of vertices) using the igraph v.1.3.0 package (59) of R. Likewise, eigenvector centrality was scaled within the range from 0 to 1, while closeness was normalized by dividing the raw closeness value by N − 1, where N is the number of vertices within the target network.

Network edge flexibility

The topology of the meta-network involving all the spider–prey interactions was shown based on the vertex ordination with the ForceAtlas2 algorithm (60) using the program Gephi 0.10 (61). Within the meta-network, the flexibility of respective network links was evaluated based on the multiplication of spiders’ potential contributions to network flexibility by those of prey (spider's max(ΔβRW,i) × prey's max(ΔβRW,i)). To examine how the results of the analyses assuming flexible network topology differ from those of the analyses assuming no rewiring of interactions, we also evaluated each network link based on the standard framework of network analyses. Specifically, for each network link, edge betweenness, which represented the degree to which a focal edge (link) was located within the shortest paths connecting pairs of vertices within a network, was calculated.

Supplementary Material

pgae047_Supplementary_Data

Acknowledgments

The authors thank reviewers for their constructive comments on the manuscript.

Contributor Information

Hirokazu Toju, Center for Ecological Research, Kyoto University, Otsu, Shiga 520-2133, Japan; Laboratory of Ecosystems and Coevolution, Graduate School of Biostudies, Kyoto University, Kyoto 606-8501, Japan; Center for Living Systems Information Science (CeLiSIS), Graduate School of Biostudies, Kyoto University, Kyoto 606-8501, Japan.

Sayaka S Suzuki, Center for Ecological Research, Kyoto University, Otsu, Shiga 520-2133, Japan.

Yuki G Baba, Biodiversity Division, Institute for Agro-Environmental Sciences, NARO, Tsukuba, Ibaraki 305-8604, Japan.

Supplementary Material

Supplementary material is available at PNAS Nexus online.

Funding

This work was financially supported by the Grant-in-Aid for Scientific Research of Japan Society for the Promotion of Science (JSPS) (18H04009) and the FOREST program of Japan Science and Technology Agency (JST) (JPMJFR2048) to H.T.

Author Contributions

H.T. conceived the project and designed the research. H.T. and S.S.S. analyzed the data. H.T. wrote the paper with S.S.S. and Y.G.B.

Preprints

This manuscript was posted on a preprint: https://biorxiv.org/cgi/content/short/2022.12.11.519979v1.

Data Availability

The DNA sequencing data, which have been made public with a previous study (35), are available from the DNA Data Bank of Japan with the BioProject accession number PRJDB12701 and the sequence read archive numbers DRA016403-DRA016405.

All the codes and data matrices used for the analyses are available from the GitHub repository (https://github.com/hiro-toju/network_flexibility_spiders).

References

  • 1. Darwin  C. 1859. On the origin of species by means of natural selection. London: J. Murray. [Google Scholar]
  • 2. Polis  GA, Strong  DR. 1996. Food web complexity and community dynamics. Am Nat. 147:813–846. [Google Scholar]
  • 3. Paine  R. 1980. Food webs: linkage, interaction strength and community infrastructure. J Anim Ecol. 49:666–685. [Google Scholar]
  • 4. McCann  K, Hastings  A, Huxel  GR. 1998. Weak trophic interactions and the balance of nature. Nature. 395:794–798. [Google Scholar]
  • 5. Levine  JM, Bascompte  J, Adler  PB, Allesina  S. 2017. Beyond pairwise mechanisms of species coexistence in complex communities. Nature. 546:56–64. [DOI] [PubMed] [Google Scholar]
  • 6. May  RM. 1972. Will a large complex system be stable?  Nature. 238:413–414. [DOI] [PubMed] [Google Scholar]
  • 7. Allesina  S, Tang  S. 2012. Stability criteria for complex ecosystems. Nature. 483:205–208. [DOI] [PubMed] [Google Scholar]
  • 8. Mougi  A, Kondoh  M. 2012. Diversity of interaction types and ecological community stability. Science. 337:349–351. [DOI] [PubMed] [Google Scholar]
  • 9. Coyte  KZ, Schluter  J, Foster  KR. 2015. The ecology of the microbiome: networks, competition, and stability. Science. 350:663–666. [DOI] [PubMed] [Google Scholar]
  • 10. Bastolla  U, et al.  2009. The architecture of mutualistic networks minimizes competition and increases biodiversity. Nature. 458:1018–1020. [DOI] [PubMed] [Google Scholar]
  • 11. Thébault  E, Fontaine  C. 2010. Stability of ecological communities and the architecture of mutualistic and trophic networks. Science. 329:853–856. [DOI] [PubMed] [Google Scholar]
  • 12. Kondoh  M. 2003. Foraging adaptation and the relationship between food-web complexity and stability. Science. 299:1388–1391. [DOI] [PubMed] [Google Scholar]
  • 13. Bascompte  J, Jordano  P, Melia  CJ, Olesen  JM. 2003. The nested assembly of plant-animal mutualistic networks. Proc Natl Acad Sci U S A. 100:9383–9387. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Dunne  JA, Williams  RJ, Martinez  ND. 2002. Food-web structure and network theory: the role of connectance and size. Proc Natl Acad Sci U S A. 99:12917–12922. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Olesen  JM, Bascompte  J, Dupont  YL, Jordano  P. 2007. The modularity of pollination networks. Proc Natl Acad Sci U S A. 104:19891–19869. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Dunne  JA, Williams  RJ, Martinez  ND. 2002. Network structure and biodiversity loss in food webs: robustness increases with connectance. Ecol Lett. 5:558–567. [Google Scholar]
  • 17. Toju  H, et al.  2015. Below-ground plant-fungus network topology is not congruent with above-ground plant-animal network topology. Sci Adv. 1:e1500291–e1500291. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Krause  AE, Frank  KA, Mason  DM, Ulanowicz  RE, Taylor  WW. 2003. Compartments revealed in food-web structure. Nature. 426:282–285. [DOI] [PubMed] [Google Scholar]
  • 19. Stouffer  DB, Bascompte  J. 2011. Compartmentalization increases food-web persistence. Proc Natl Acad Sci U S A. 108:3648–3652. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Rohr  RP, Saavedra  S, Bascompte  J. 2014. On the structural stability of mutualistic systems. Science. 345:1253497. [DOI] [PubMed] [Google Scholar]
  • 21. Bartley  TJ, et al.  2019. Food web rewiring in a changing world. Nat Ecol Evol. 3:345–354. [DOI] [PubMed] [Google Scholar]
  • 22. Polazzo  F, Marina  TI, Crettaz-Minagila  M, Rico  A. 2022. Food web rewiring drives long-term compositional differences and late-disturbance interactions at the community level. Proc Natl Acad Sci U S A. 119:e2117364119. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Raimundo  RLG, Guimarães  PR, Evans  DM. 2018. Adaptive networks for restoration ecology. Trends Ecol Evol. 33:664–675. [DOI] [PubMed] [Google Scholar]
  • 24. CaraDonna  PJ, et al.  2017. Interaction rewiring and the rapid turnover of plant–pollinator networks. Ecol Lett. 20:385–394. [DOI] [PubMed] [Google Scholar]
  • 25. Poisot  T, et al.  2012. The dissimilarity of species interaction networks. Ecol Lett. 15:1353–1361. [DOI] [PubMed] [Google Scholar]
  • 26. Estes  JA, et al.  2011. Trophic downgrading of planet Earth. Science. 333:301–306. [DOI] [PubMed] [Google Scholar]
  • 27. Wallach  AD, Ripple  WJ, Carroll  SP. 2015. Novel trophic cascades: apex predators enable coexistence. Trends Ecol Evol. 30:146–153. [DOI] [PubMed] [Google Scholar]
  • 28. Terborgh  JW. 2015. Toward a trophic theory of species diversity. Proc Natl Acad Sci U S A. 112:11415–11422. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Agrawal  AA. 2001. Phenotypic plasticity in the interactions and evolution of species. Science. 294:321–326. [DOI] [PubMed] [Google Scholar]
  • 30. Holling  CS. 1959. The components of predation as revealed by a study of small-mammal predation of the European pine sawfly. Can Entomol. 91:293–320. [Google Scholar]
  • 31. Abrams  PA. 2000. The evolution of predator-prey interactions: theory and evidence. Annu Rev Ecol Syst. 31:79–105. [Google Scholar]
  • 32. Barbour  MA, Gibert  JP. 2021. Genetic and plastic rewiring of food webs under climate change. J Anim Ecol. 90:1814–1830. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Lewis  OT, et al.  2002. Structure of a diverse tropical forest insect-parasitoid community. J Anim Ecol. 71:855–873. [Google Scholar]
  • 34. Kaiser-Bunbury  CN, Muff  S, Memmott  J, Müller  CB, Caflisch  A. 2010. The robustness of pollination networks to the loss of species and interactions: a quantitative approach incorporating pollinator behaviour. Ecol Lett. 13:442–452. [DOI] [PubMed] [Google Scholar]
  • 35. Suzuki  SS, Baba  YG, Toju  H. 2023. Dynamics of species-rich predator–prey networks and seasonal alternations of core species. Nat Ecol Evol.  7:1432–1443. [DOI] [PubMed] [Google Scholar]
  • 36. Fründ  J. 2021. Dissimilarity of species interaction networks: how to partition rewiring and species turnover components. Ecosphere. 12:e03653. [Google Scholar]
  • 37. Novotny  V. 2009. Beta diversity of plant-insect food webs in tropical forests: a conceptual framework. Insect Conserv Divers. 2:5–9. [Google Scholar]
  • 38. Freeman  LC. 1977. A set of measures of centrality based on betweenness. Sociometry. 40:35–41. [Google Scholar]
  • 39. Polis  GA. 1991. Complex trophic interactions in deserts: an empirical critique of food-web theory. Am Nat. 138:123–155. [Google Scholar]
  • 40. Olivier  P, et al.  2019. Exploring the temporal variability of a food web using long-term biomonitoring data. Ecography. 42:2107–2121. [Google Scholar]
  • 41. Winemiller  KO. 1990. Spatial and temporal variation in tropical fish trophic networks. Ecol Monogr. 60:331–367. [Google Scholar]
  • 42. McCann  KS. 2000. The diversity-stability debate. Nature. 405:228–233. [DOI] [PubMed] [Google Scholar]
  • 43. Michalko  R, Pekár  S, Entling  MH. 2019. An updated perspective on spiders as generalist predators in biological control. Oecologia. 189:21–36. [DOI] [PubMed] [Google Scholar]
  • 44. Power  ME, et al.  1996. Challenges in the quest for keystones. Bioscience. 46:609–620. [Google Scholar]
  • 45. Paine  RT. 1966. Food web complexity and species diversity. Am Nat. 100:65–75. [Google Scholar]
  • 46. Banerjee  S, Schlaeppi  K, van der Heijden  MGA. 2018. Keystone taxa as drivers of microbiome structure and functioning. Nat Rev Microbiol. 16:567–576. [DOI] [PubMed] [Google Scholar]
  • 47. Toju  H, et al.  2017. Species-rich networks and eco-evolutionary synthesis at the metacommunity level. Nat Ecol Evol. 1:0024. [DOI] [PubMed] [Google Scholar]
  • 48. Jordán  F. 2009. Keystone species and food webs. Philos Trans R Soc B Biol Sci. 364:1733–1741. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49. Miyashita  T, Takada  M, Shimazaki  A. 2003. Experimental evidence that aboveground predators are sustained by underground detritivores. Oikos. 103:31–36. [Google Scholar]
  • 50. Wardle  DA, et al.  2004. Ecological linkages between aboveground and belowground biota. Science. 304:1629–1633. [DOI] [PubMed] [Google Scholar]
  • 51. Bardgett  RD, van der Putten  WH. 2014. Belowground biodiversity and ecosystem functioning. Nature. 515:505–511. [DOI] [PubMed] [Google Scholar]
  • 52. Toju  H, Baba  YG. 2018. DNA metabarcoding of spiders, insects, and springtails for exploring potential linkage between above- and below-ground food webs. Zoological Lett. 4:4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53. Ushio  M, et al.  2018. Fluctuating interaction network and time-varying stability of a natural fish community. Nature. 554:360–363. [DOI] [PubMed] [Google Scholar]
  • 54. Sugihara  G, et al.  2012. Detecting causality in complex ecosystems. Science. 338:496–500. [DOI] [PubMed] [Google Scholar]
  • 55. Mills  LS, Doak  DF. 1993. The keystone-species concept in ecology and conservation. Bioscience. 43:219–224. [Google Scholar]
  • 56. Ushio  M. 2022. Interaction capacity as a potential driver of community diversity. Proc R Soc B: Biol Sci. 289:20212690. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57. Dormann  CF, Gruber  B, Fruend  J. 2018. Introducing the bipartite package: analysing ecological networks. R News. 8:8–11. [Google Scholar]
  • 58. Newman  M. 2010. Networks: an introduction. [Google Scholar]
  • 59. Csardi  G, Nepusz  T. 2006. The igraph software package for complex network research. Int J Complex Syst. 1695:1–9. [Google Scholar]
  • 60. Jacomy  M, Venturini  T, Heymann  S, Bastian  M. 2014. ForceAtlas2, a continuous graph layout algorithm for handy network visualization designed for the Gephi software. PLoS One. 9:1–12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Bastian  M, Heymann  S, Jacomy  M. 2009. Gephi: an open source software for exploring and manipulating networks. Third International AAAI Conference on Weblogs and Social Media; San Jose. p. 361–362. [DOI] [PMC free article] [PubMed]

Associated Data

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

Supplementary Materials

pgae047_Supplementary_Data

Data Availability Statement

The DNA sequencing data, which have been made public with a previous study (35), are available from the DNA Data Bank of Japan with the BioProject accession number PRJDB12701 and the sequence read archive numbers DRA016403-DRA016405.

All the codes and data matrices used for the analyses are available from the GitHub repository (https://github.com/hiro-toju/network_flexibility_spiders).


Articles from PNAS Nexus are provided here courtesy of Oxford University Press

RESOURCES