Introduction

The recent loss of species caused by human activities and climate change (Loreau et al., 2001; Naeem et al., 2012) has motivated scientists to understand patterns that determine the variation of biodiversity between different localities. Biodiversity is directly related to ecosystem functioning and fundamental services for human beings, such as food production, water resource, and nutrient cycling (Gagic et al., 2015). Biodiversity can be assessed through taxonomic and/or functional diversity. The taxonomic diversity does not consider or indicate ecological functions (Magurran, 2004), while the functional diversity considers the variation of characteristics of species related to their function in ecosystems (Barnett et al., 2007; Lavorel et al., 2013; Mouillot et al., 2013). Studies indicate that the functional diversity rather than taxonomic is essential to understand ecosystems processes, such as resilience to perturbations and invasions, productivity, and matter flux (Bellwood et al., 2004; Petchey et al., 2004; Waldbusser et al., 2004).

The functional diversity is estimated through functional traits that represent the morphological and physiological characteristics of species, and describe responses or effects of environmental factors on species growth, reproduction, and survival (Suding et al., 2008; Hebert et al., 2016). To assess the functional trait values (weight) of each species in the assembly, the species are placed inside a functional space that determines their distribution, most of the time taking into account their numeric density (Villéger et al., 2008; Maire et al., 2015). With these procedures, it is possible to measure several functional aspects of biological communities, such as diversity, richness, evenness, divergence, dispersion, entropy, and beta-diversity (Mouillot et al., 2013).

Here, we will address two aspects of functional diversity: beta-diversity and richness. Beta-diversity represents the dissimilarity in species/traits composition between two communities and can be decomposed into turnover—the replacement between communities—and nestedness—the difference in the number of species/traits between communities (Villéger et al., 2013). Functional richness represents the amount of functional space filled by the community (Mouillot et al., 2013; Villéger et al., 2013), i.e., the difference between the maximum and minimum functional values of species in the community (Mason et al. 2005).

Several environmental filters influence the distribution of species and functional traits in space and time, reflecting in the ecosystem functioning (Heino et al., 2015a). Habitat structure is perhaps the most important environmental filter, since more structurally diverse habitats provide more niches opportunities, allowing species to track environmental variation among sites, potentially increasing the regional diversity (Wellborn et al., 1996; Tews et al., 2004; Heino et al., 2015b). In most subtropical aquatic environments, macrophytes represent the main habitat structure shaping the variation in community composition (Pinheiro et al., 2016; Brito et al., 2020). Macrophyte beds with different structure, i.e., total biomass and species diversity, may provide favorable microhabitats, increasing habitat diversity and niche availability (Choi et al., 2014). The greater the habitat structuration provided by this vegetation, the more organic particles, ciliates, flagellates, bacteria, and periphytic algae are attached or around its structures (Dabés & Velho, 2001), increasing food availability and creating refuges for different communities, such as zooplankton (Rossa & Bonecker, 2003; Brito et al., 2020) and small-bodied fishes (Meerhoff et al., 2007a; Lopes et al., 2015; Pinheiro et al., 2016; Cunha et al., 2019). Therefore, in the same way that macrophyte beds can offer refuge and food for zooplankton, they could also work as a trap because they can increase the density of zooplankton predators, such as macroinvertebrates and small-bodied fish (Meerhoff et al., 2007a; Sagrario et al., 2009). Moreover, the spatial distribution of macrophytes may lead to spatial differences in the zooplankton community composition, once certain zooplankton species are usually associated to certain macrophyte species, i.e., different macrophyte species can shelter different zooplankton species/traits (Zeng et al., 2017). Thus, different amount of macrophyte biomass and diversity might contribute to the increase of zooplankton diversity and dissimilarity (Debastiani-Júnior et al., 2016). Nevertheless, it could also increase the strength of the relationship between zooplankton and their predators, as macrophyte beds offer refuge and food for both groups.

Fish predation is recognized as a key factor determining taxonomic and functional zooplankton diversity (Iglesias et al., 2011; Sodré & Bozelli, 2019), reducing their density and changing traits such as fecundity and survival (Barnett et al., 2007; Santangelo et al., 2018). Predation can also alter competitive relationships among species, reducing dominant species or traits and allowing other less dominant zooplankton species to occur (Chase et al., 2002). Furthermore, predation may select some functional traits, such as large body size and lower predatory escape response (Barnett et al., 2007; Sodré & Bozelli, 2019), which affect the functional composition of communities. In this way, the effect of predation could potentially work by increasing or decreasing zooplankton taxonomic and functional diversity (Litchman et al., 2010).

Consequently, the habitat structure created by macrophyte beds can mediate complex trophic interactions (Meerhoff et al., 2007b; Sagrario et al., 2009; Akhurst et al., 2017; Carniatto et al., 2020) and provide an excellent system to analyze the site-by-site taxonomic and functional variation, especially as studies analyzing the interaction of macrophytes, fish, and functional structure of zooplankton are rare. Also, understanding the spatial filters that determine species diversity can assist in ecosystem conservation and management strategies (Heino et al., 2019).

Here we analyzed how the habitat structure provided by macrophytes (biomass, richness, and Shannon’s diversity) and potential predation by small-bodied fishes (richness and abundance) determine the richness and dissimilarity of zooplankton species and functional traits. We expected that the structure of macrophytes and fish community would be positively related to both taxonomic and functional diversity of zooplankton because macrophyte habitat structure might allow greater species and traits occurrence. Regarding taxonomic and functional beta-diversity of zooplankton, the macrophyte richness may promote spatial dissimilarity, as different macrophyte species can shelter different zooplankton species/traits. Additionally, an increase or decrease in macrophyte biomass may also contribute to increase the spatial dissimilarity of zooplankton, since denser macrophyte beds tend to support littoral species, while pelagic species would mostly occur in less dense beds (Sodré & Bozelli, 2019). Furthermore, fish predation might control the most dominant species, allowing more species and functional traits to co-occur.

Methods

Study area

The Baía River presents slow water flow that ranges from 0.11 to 0.50 m/s (Bonecker et al., 1998). This tributary belongs to the Upper Paraná River Floodplain, and is located in the state of Mato Grosso do Sul/Brazil (Fig. 1). During the last 20 years, studies developed in the entire floodplain recorded 71 macrophyte species (Souza et al., 2017), 211 fish species (Lopes et al., 2015; Ota et al., 2018), and 617 zooplankton species (Bonecker et al., 2020). Baía River has approximately 18 m of width and 1 m of depth (Rodrigues et al., 2009), with the riverbanks covered mainly by herbaceous pasture vegetation (Lopes et al., 2006). This river also presents a pronounced littoral zone with aquatic macrophyte beds over almost all its perimeter, which allows a great diversity of species.

Fig. 1
figure 1

Map of the sampling area in the Baía River, Mato Grosso do Sul/Brazil. The red dots listed from 1 to 30 refer to the sampled points

Sampling and community analyses

Zooplankton, fish, and macrophytes were simultaneously sampled during the dry season in August 2018. During this period, macrophyte beds are more intact and the other communities are less dispersed in floodplain environments. Sampling covered ~ 13.7 km, taking into account a minimum distance of ~ 350 m between each macrophyte bed, and following the river flow (Fig. 1). To sample a gradient of low to high macrophyte bed habitat structure, multi-species beds with different biomass were visually selected, totalizing 30 macrophyte beds considered here as sampled sites.

Zooplankton samples were taken at the subsurface (approximately 30 cm below the water–air interface), in the central region of the macrophyte beds (near the traps used for fish sampling). At each sampled site, 100 L of water were filtered through plankton net (68 µm) with buckets, and fixed with 4% formalin solution buffered with calcium carbonate. Specialized bibliographies (Koste, 1978; Reid, 1985; El-moor-Loureiro, 1997; Orlova-Bienkoswskaja, 2001; Perbiche-Neves et al., 2015) were used for species identification. To determine the zooplankton abundance (individuals m−3), we used an optical microscope (Olympus CX-41) and a Sedgewick-Rafter camera. At least 50 individuals of each zooplankton group (rotifers, cladocerans, and copepods) were counted in each sample. When the samples did not reach this minimum number of individuals, they were fully counted. The identification and classification of functional traits for each zooplankton species were made according to data available in the specialized literature (Braghin et al., 2018). The traits body size; habitat; lifespan; type of feeding; type of reproduction; and predatory escape response were selected (Table 1). These traits represent how zooplankton respond to environmental conditions, and directly influence ecosystem processes (Barnett et al., 2007; Rizo et al., 2017; Obertegger & Flaim, 2018). Predation might alter the traits body size and type of reproduction by selecting large-bodied zooplankton, including ovate females (Iglesias et al., 2011), predatory escape response by selecting the slower swimmers, and habitat by selecting pelagic species, whereas habitat structure provided by macrophytes might influence the zooplankton habitat, by favoring littoral species, as well as different type of feeding, lifespan, and type of repoduction, by offering more food resources and development conditions. For more details about the importance of each trait chosen, please see Braghin et al. (2018).

Table 1 Functional traits of zooplankton species including the categories and the percentage (%) of each trait. Types of traits are given in parentheses

We used floating minnow traps for fish sampling. Minnow traps are acrylic side traps with a 1 cm opening for fish entry. Its upper side is composed by pieces of polyethylene to allow its placement on the surface layer of the water, while its down portion has a plastic plate with small fixed holes to drain the water and remove the fishes (Cunha et al., 2011). Three traps were installed in each macrophyte bed, 4 m from the riverbank, to minimize the effect of fish species that transit between the open area and the area structured by macrophytes. The traps were installed at 7 a.m. and checked for fish every 8 h, accounting for a sampling effort of 24 h. Following ethical practice, the captured fishes were anesthetized with clove oil and fixed in 4% formalin. Subsequently, they were identified at the species level (Ota et al., 2018), and quantified (individuals m−2). Fish sampling was approved by the Ethics Committee on the Use of Animals of the State University of Maringá (CEUA/UEM - No. 5980040618). We identified 20 fish species distributed into six families (supplementary material A). Characidae (13 species), and Cichlidae (3 species) were the families with the greatest species richness. The richness varied from 1 to 11 species among sampling locations, and the abundance from 1 to 228 ind. m−2 (Supplementary Material B).

Macrophytes were also sampled near the fish traps. A quadrat (0.5 m × 0.5 m) was used, and all plants material contained to a depth of 0.5 m depth were sampled. In the laboratory, macrophytes were identified, washed, and dried (at 60°C) to obtain the dry weight (DW) (adapted from Wetzel & Likens, 1991). The habitat structure provided by macrophytes can be expressed by various characteristics, so we calculated total biomass (g DW m−3), taxonomic richness [TRic—number of species (S) in each bed, where rare and common species have the same weight), and Shannon index (H′—in which the biomass of each species was used to evaluate the relative abundance values and it is sensitive to rare species (Magurran, 2004)]. Through macrophyte biomass, we can evaluate the quantity of roots, branch, and leaves that might be available to zooplankton as refuge, and shelves for food resources. Species richness can represent different biotypes of macrophytes and also influence the availability of refuge and food resource for zooplankton community, while Shannon’s diversity combines quantity and quality, i.e., biomass and richness. A total of 18 macrophyte species were identified, belonging to 10 families (Supplementary Material A). Salviniaceae (four species), Polygonaceae (three species), and Pontederiaceae (three species) were the families with the greatest species richness. The macrophyte richness varied from 1 to 13 species; the lowest biomass was 45.77 g DW m−3 and the highest was 883.29 g DW m−3, and the Shannon’s diversity (H′) varied between 2.2 and 0 (Supplementary Material B).

Functional analyses

All analyses in our study were performed in R software (R Core Team, 2020). We calculated functional richness (FRic) following the methodology proposed by Villéger et al. (2008) [R function ‘dbFD’, package “FD” (Laliberté et al., 2014)]. FRic represents the total functional space that the species occupy in a given community. High values indicate that species have distinct combinations of traits, whereas lower values indicate that the species have more similar traits (functionally redundant) (Villéger et al., 2008). We calculated FRic using one matrix of species density by site, and one matrix of functional traits by species. We applied Gower distance as we have categorical and numerical traits (Gower, 1966). The functional space was calculated through a Principal Coordinate Analysis (PCoA) based on the combination of traits per species of each site. The first four axes of PCoA were retained, which presented the high quality of functional space occupied by the zooplankton species. Regarding the rule or process used to determine how many axes to retain, according to the method proposed by Maire et al. (2015), a high-quality functional space needs to show congruence between the initial functional distance (Gower distance) and the standardized distances in the new space (generated by PCoA).

To analyze the distribution of zooplankton species and functional traits, we calculated the beta-diversity and its components (turnover and nestedness). We followed the methodology proposed by Baselga (2010) for taxonomic beta-diversity [R function ‘beta.pair’, package “betapart” (Baselga & Orme, 2012)], whereas to determine functional beta-diversity, we used the methodology proposed by Villéger et al. (2013) [R function ‘functional.beta.pair’, package “betapart” (Baselga & Orme, 2012)]. We calculated three metrics, the Jaccard dissimilarity index (‘jac’), which represents the total variation of species and traits between sites; the nestedness component (‘jne’) that corresponds to the loss of species or traits; and the turnover component (‘jtu’) that represents the replacement of species and traits between sites. The pairwise distance between sites was computed using the Gower distance, and from this matrix, the functional traits were summarized through a PCoA, following the same procedure described in the previously paragraph.

Statistical analyses

To analyze how the habitat structure provided by macrophytes and potential predation by fish determine the richness of zooplankton species and functional traits, we performed linear regression models [R function ‘lm’; package ‘stats’ (Bolar, 2019)] for taxonomic richness and beta regressions for functional richness [R function ‘betareg’, package ‘betareg’ (Cribari-Neto & Zeileis, 2010)]. We used five predictors: macrophyte species richness, Shannon’s diversity, and biomass, and fish species richness and abundance of individuals. Beta regression is linked to generalized linear models (GLMs) and is used for response variables that vary between 0 and 1 (such as functional richness) (Cribari-Neto & Zeileis, 2010).

We performed Generalized Dissimilarity Models (GDM) (Ferrier et al., 2007) controlling for the effect of space [R function ‘gdm.varImp’; package “gdm” (Fitzpatrick et al., 2020)] to analyze which of the five predictors related to macrophytes (species richness, Shannon’s diversity, and biomass) and fish (species richness and abundance of individuals) determine the distribution of zooplankton species and functional traits. GDM is based on matrices of regression, a technique that allows controlling spatial variation in the composition of sets between pairs of geographic locations, and it can be based on any dissimilarity matrix as a response (Ferrier et al., 2007). We used the three dissimilarities described above (total beta-diversity, and its components turnover and nestedness) as response variables to calculate GDM analysis. Model assumptions were tested for all analyses.

We performed piecewise Structural Equation Models (SEM; Lefcheck, 2016) to analyze the effects of macrophytes on fishes and how this may influence the zooplankton structure. We tested several pathways (Fig. 2). Before performing SEM analysis, we prepared and summarized the response variables (zooplankton functional and taxonomic diversity) by calculating the local contribution of each site to total beta-diversity (LCBD—Legendre & De Cáceres, 2013; R function ‘LCBD.comp’ of package “adespatial”). LCBD can be performed through a dissimilarity matrix or beta-diversity component matrix. Here, we used the beta-diversity component matrix previously calculated by ‘jac’ (described in the above subsection), which represents the total variation of species and traits between sites. Piecewise Structural Equation Models were created using GLMs—generalized linear models (R function ‘glm’ of package “stats”), and fitted using the function ‘psem’ (R package “piecewiseSEM”). Fish abundance of individuals and richness, and macrophyte richness, Shannon’s diversity, and biomass, were used as predictors in the models. To choose the best model, we reduced the number of variables using Akaike Information Criteria corrected for small sample size (AICc), and checked correlations between the predictors by tools implemented in the “piecewiseSEM” R package (Lefcheck, 2016).

Fig. 2
figure 2

Path diagram representing hypothesized pathways linking stream macrophyte, fish, and zooplankton communities. The pathways were tested by GLM (generalized linear model) and fitted using piecewise SEM (structural equation model)

Finally, we analyzed which zooplankton functional traits were influenced by macrophytes structure and potential fish predation by performing a Fourth-Corner Analysis [R function ‘fourthcorner’, package “ade4” (Bougeard & Dray, 2018)]. To obtain a more accurate model, we first transformed the predictor variables (biomass of macrophytes per species in each site, and abundance of fish per species in each site) into distances through two PCoAs [R function ‘pcoa’, package “ape” (Paradis & Schliep, 2018)] and retained the first axis of each predictor. In this way, three matrices were used in the Fourth-Corner Analysis, the zooplankton species distribution (L), the zooplankton functional traits per species (Q), and the predictor variables (R—composed by the first axis of macrophyte and fish from the PCoAs). We used the model type 6, which is more robust because permute the rows and columns of the matrix L (Dray & Legendre, 2008; ter Braak et al., 2012). We tested the model significance through 999 permutations, and applied p-adjusted for multiple comparisons (“Bonferroni” correction).

Results

Description of the zooplankton community

A total of 142 species of zooplankton were identified, most of them belonging to Rotifera (75 species), followed by Cladocera (52 species), and Copepoda (15 species) (Supplementary Material A). The species were distributed into 25 families, among them, Lecanidae, Trichocercidae, and Brachionidae were the families with the greatest species richness of rotifers (21, 14, and 12 species, respectively), Chydoridae was the family with the greatest species richness of cladocerans (38 species), and Cyclopidae the family with the greatest species richness of copepods (12 species). The zooplankton richness varied from 23 to 71 species among sampling locations (for more details please see Supplementary Material B). We found that the zooplankton total taxonomic beta-diversity (Tjac = 0.58) was slightly higher than the total functional beta-diversity (Fjac = 0.47). The turnover component had a greater contribution to the total taxonomic beta-diversity (Tjtu = 0.48), and the nestedness to the total functional beta-diversity (Fjne = 0.29) (Fig. 3).

Fig. 3
figure 3

Zooplankton total taxonomic and functional beta-diversity partitioned in turnover and nestedness

Relationship between zooplankton taxonomic and functional diversity and the predictors (macrophyte and fish)

The taxonomic richness of zooplankton was positively related to macrophyte richness (lm-model: F = 5.48, P = 0.02, Std. Error: 10.21, R2 adj.: 0.13; Degrees of Freedom: 28) and macrophyte diversity (Shannon’s diversity) (lm-model: F = 5.90, P = 0.02, Std. Error: 10.14, R2 adj.: 0.14; Degrees of Freedom: 28) (Fig. 4a, b), whereas zooplankton functional richness was positively related to fish richness (P = 0.02, z-value = 2.30, pseudo-R2: 0.001, Std. Error: 0.04; Log-likelihood: 265.7 on 5 Df) and macrophyte richness (P = 0.007, z-value = 2.67, pseudo-R2: 0.1783, std. error: 0.03, Log-likelihood: 266.3 on 5 Df) (Fig. 4c, d). The other predictors were not related to zooplankton taxonomic and functional richness (Table 2).

Fig. 4
figure 4

Significant regressions (considering P < 0.05) between taxonomic richness of zooplankton (= species richness) and macrophyte richness (a), and macrophyte diversity (Shannon’s diversity) (b). And significant regressions between the functional richness of zooplankton and macrophyte richness (c) and fish richness (d)

Table 2 Non-significant results from regressions models for taxonomic richness (TRic) and functional richness (FRic) of zooplankton

Macrophyte structure (biomass, Shannon’s diversity, and richness) determined most of the zooplankton taxonomic beta-diversity variation. We observed that a small increase in these variables was sufficient to determine the increase in zooplankton taxonomic beta-diversity, and after that, there was a stabilization trend (Fig. 5a, c, e). All predictors explained 32.58% (model-P < 0.001) of the zooplankton total taxonomic beta-diversity. Concerning the beta components, all predictors explained 19.24% (model-P = 0.01) of the zooplankton taxonomic turnover, and the macrophyte biomass was the most important predictor for this component (24.65%) (Table 3). Zooplankton taxonomic nestedness was not explained by the predictors (Table 3).

Fig. 5
figure 5

GDM regressions to zooplankton total taxonomic beta-diversity (y-axis). On the x-axis are the predictor variables: macrophyte biomass (a), macrophyte diversity (Shannon’s diversity) (b), macrophyte richness (c), fish abundance (d), and fish richness (e). The percentages of explanation (%) of each preditor for the model are shown

Table 3 Generalized Dissimilarity Modeling (GDM) results for the components (Turn = turnover, Nest = nestedness) of zooplankton taxonomic and functional beta-diversity

We found that 9.98% of zooplankton total functional beta-diversity was explained by the global GDM model (model-P = 0.02). Fish abundance contributed to 62.21% of this total variation, with an exponential increase in zooplankton total functional beta-diversity from a high fish density (around 100; Fig. 6b). Macrophyte richness (4.75%) was the second most important predictor of zooplankton functional beta-diversity, followed by macrophyte Shannon’s diversity (4.59%); the slopes increased after high values of these predictors (Fig. 6c, e). The predictor variables were important in explaining only the variation in functional nestedness (total explanation: 17.82%; model-P = 0.02), and the abundance of fish was the most important predictor for this component (54.06%) (Table 3).

Fig. 6
figure 6

GDM regressions to zooplankton total functional beta-diversity (y-axis). On the x-axis are the predictor variables: Fish abundance (a), macrophyte richness (b), macrophyte diversity (Shannon’s diversity) (c), macrophyte biomass (d), and fish richness (e). The percentages of explanation (%) of each preditor for the model are shown

We observed through the Structural Equation Model that macrophyte biomass and Shannon’s diversity affected the fish richness in opposite ways. Macrophyte biomass had a negative effect on fish richness (SEM std. estimate: − 0.47, P = 0.006), while Shannon’s diversity had a positive effect (SEM std. estimate: 0.33, P = 0.04). Zooplankton taxonomic LCBD was negatively affected by macrophyte Shannon’s diversity (SEM std. estimate: − 0.41, P = 0.03); the other relationships were not significant (Fig. 7). Fourth-Corner Analysis showed several negative relationships, with habitat structure provided by macrophytes influencing all zooplankton traits. The only positive relationship was between macrophytes and feeding type (P = 0.03). Fish predation was negatively related only to body size (Fig. 8).

Fig. 7
figure 7

Path diagram representing final structural equation model pathways linking stream macrophyte, fish, and zooplankton communities. Boxes represent measured variables. Arrows represent unidirectional relationships among variables. Black arrows denote significant paths, and semi-transparent represents non-significant (P > 0.05). Pointed arrows represent negative relationships and arrows ending in circles represent positive relationships. R2, P value, and std. estimate are shown

Fig. 8
figure 8

Fourth-Corner significant results (P-adjusted for multiple comparisons) showing the interaction between the six functional traits and the predictor variables – (first axis of PCoA from macrophytes and fishes, please for more details see methods). The positive interaction is shown in red and negative interactions in blue

Discussion

The potential predation, represented by fish community structure (i.e., richness and abundance), explained most of the variation of zooplankton functional beta-diversity, while habitat structure, represented by macrophyte community structure (Shannon’s diversity, richness, and biomass), explained most of the variation of zooplankton taxonomic richness and taxonomic beta-diversity, and was related to six functional traits, in agreement with our predictions. Littoral regions of subtropical environments often support high richness of zooplankton species, owing to the presence of families morphologically adapted to explore resources in the macrophytes, such as Lecanidae (rotifers), Chydoridae (cladocerans), Trichocercidae (rotifers), and Cyclopidae (copepods) (Lansac-Tôha et al., 2009; Serafim-Júnior et al., 2016; Bomfim et al., 2017). Roots and submerged parts of aquatic vegetation allow zooplankton organisms to settle and attach their eggs (Debastiani-Júnior et al., 2016; Battauz et al., 2017), whereas the great richness and abundance of microorganisms associated with macrophytes provide a variety of food resource for zooplankton, such as omnivorous and carnivorous microcrustaceans (Thomaz & Cunha, 2010; Debastiani-Júnior et al., 2016), and rotifers (Rossa & Bonecker, 2003; Grzybkowska et al., 2018).

The refuge and food availability offered by macrophytes (Dabés & Velho, 2001) may allow a more diverse assembly with zooplankton organisms that explore several types of food resources, reflecting in the positive relationships observed between macrophytes and the zooplankton trait feeding type, as well, zooplankton taxonomic richness and taxonomic beta-diversity. Nevertheless, this strong habitat structure provided by macrophytes also negatively influenced other zooplankton traits. High food availability is linked to small-bodied zooplankton organisms (Bomfim et al., 2018). Small-bodied zooplankton, in turn, is represented by organisms with asexual reproduction instead sexual, short lifespan instead long, and low predatory escape response instead medium, high, or maximum, as observed in our data. Therefore, the high food availability offered by macrophyte structure might have favored these specific sub-traits (cited above), which lead to the negative relationships observed in the Fourth-Corner Analysis between macrophytes and the traits body size, reproduction type, habitat, lifespan, and predatory escape response. In other words, macrophytes structure may have favored the prevalence of small-bodied zooplankton organisms that is linked to other specific traits, which were also selected by this environmental filter.

On the other hand, we observed that macrophyte diversity was positively related to fish diversity, which probably increased predation pressure on zooplankton organisms and lead to a positive effect on zooplankton functional diversity. Due to nutritional advantages and easy detection, fish usually predate large-bodied zooplankton species, reducing their numerical density and favoring smaller-bodied species (Bonecker et al., 2011; Iglesias et al., 2017). Our findings support this viewpoint through the negative relationship observed between fish and the zooplankton trait body size. The size-selective predation by fish on large-bodied zooplankton species may also reflect in other zooplankton traits (Litchman et al., 2010; Hébert et al., 2017), once small-bodied zooplankton present particular sub-traits, as exemplified in the previously paragraph. Fish richness may have promoted high zooplankton functional richness, as well as fish abundance may have promoted high zooplankton functional beta-diversity. These findings indicate that certain levels of predation had a positive effect on zooplankton functional diversity by balancing the distribution of numerical density within species and functional traits (i.e., promoting a more equal distribution of density; as functional richness weigh species density). Also, predation is well recognized for reducing competition between groups (Chase et al., 2002); sight-feeding fish generally prey on large-bodied species and on most abundant zooplankton species that normally are better competitors and dominate the environments. Therefore, predation may provide space and conditions for other species to establish and grow (Brooks & Dodson, 1965; Litchman et al., 2010), and consequently increase functional richness and functional beta-diversity of zooplankton.

Macrophyte biomass and diversity had different effects on fish richness, which also influenced the zooplankton beta-diversity in opposite ways. Macrophytes can mediate the relationship between zooplankton and their predators (Meerhoff et al., 2006; Santos et al., 2020), because more complex macrophyte beds provide shelter for small organisms that occupy microhabitats predators cannot access (Meerhoff et al., 2007b; Iglesias et al., 2017; Strzałek & Koperski, 2019). Therefore, once again, this expected relationship reinforces the link between macrophytes and small-bodied zooplankton. Macrophyte diversity promoted high fish richness, but macrophyte biomass reduced fish richness. Dense macrophyte beds limit the predators’ movement and prey detection (Diehl, 1988), thus, normally higher fish densities are found in intermediate levels of macrophyte biomass (Warfe & Barmuta, 2006; Cunha et al., 2019). These relationships between macrophytes and fish confounded the patterns and may have led to a negative effect of macrophyte diversity on zooplankton taxonomic beta-diversity (by favoring fishes).

The spatial relationship between macrophyte structure and fish also influenced the zooplankton turnover and nestedness. Zooplankton taxonomic beta-diversity was most explained by turnover component and influenced by macrophyte diversity and biomass, which means that the spatial distribution of macrophyte beds with different characteristics determined the species replacement among sites. Meanwhile, the increase in fish abundance promoted the development of functional trait sub-sets formed from a large set (nestedness). Fewer structured macrophyte habitats usually host fewer zooplankton and fish species (Braghin et al., 2016; Stephan et al., 2019). Conversely, highly structured macrophyte habitats host greater zooplankton and fish species (Lopes et al., 2015; Brito et al., 2020). Therefore, the difference between macrophyte habitat structure created a spatial environmental heterogeneity (Choi et al., 2014) that selectively filtered different zooplankton species and functional traits, consequently increasing zooplankton taxonomic and functional beta-diversity. Our results have direct implication for guiding biomonitoring and conservation, since areas that contain high macrophytes richness and diversity may assure high fish and zooplankton richness, which in turn, will continue to ensure ecosystem functions offered by these species.

Our results showed complex interactions between different metrics of macrophytes, fish, and zooplankton. We demonstrated how these abiotic and biotic filters working together affected zooplankton taxonomic and functional diversity. Moreover, our findings revealed that zooplankton species and functional traits may respond differently to these filters, reaffirming the importance to analyze as many factors as possible to have a realistic view of the species interaction and ecosystem functioning in natural environments.