Introduction

Although deforestation is one of the major drivers of biodiversity loss in the Tropical region (Barlow et al. 2016), its effects on biodiversity structural and functional components have been scarcely evaluated in the Tropics (see on this regard the meta-analysis evidences by Richardson and Béraud 2014). Deforestation effect studies have mostly focused on comparing changes on alpha-diversity (i.e. local richness) and bioassessment-derived metrics (e.g. the Biological Monitoring Working Party, ‘BMWP’; see Hawkes 1998) between forested and non-forested streams (e.g. Bojsen and Jacobsen 2003; Lorion and Kennedy 2009; Iñiguez-Armijos et al. 2014). As these alpha-diversity and bioassessment-derived metrics do not take into account the potential influence of dispersal (Hitt and Angermeier 2008), they cannot quantify the relevance of refugia occurrence (i.e. sites where the absence of an impairment have enabled the native communities to survive) among the stream network in structuring local communities and basin-level metacommunities (i.e. a set of communities potentially linked by dispersal; Leibold et al. 2004). Addressing this knowledge gap is crucial to improve bioassessment protocols as well as the performance of mitigation plans and conservation practices.

The use of alpha-diversity and bioassessment-derived metrics assumes that community composition will reflect the environmental change linked to one or more impairments (Siqueira et al. 2014; Buss et al. 2015). Under this assumption, species at impaired sites will be those with greater resistance to the new environmental conditions (e.g. species more tolerant to increased input of sediments covering the streambed, reduced inputs of allochthonous organic material or input of fertilizers in deforest segments). In this way, environmental sorting would be the main process underlying community and metacommunity structure (i.e. species composition and distribution across local communities). However, streams are dendritic and highly connected ecosystems (Campbell Grant et al. 2007; Altermatt et al. 2013), where dispersal-driven processes may override the effect of environmental sorting on the structure of local communities and metacommunities. This is mostly related to two situations (e.g. Tonkin et al. 2014, 2018; Kitto et al. 2015; Sarremejane et al. 2017): when species have high dispersal ability, through which they can virtually establish everywhere; or when there exists a high connectivity between source (e.g. refugia) and sink patches (e.g. impaired sites). Considering that undisturbed headwater segments can serve as refugia for species under human-related disturbances (Sedell et al. 1990), both species dispersal ability and the distance to the refugia cannot be ignored when assessing the effects of impairment.

One approach to explore the influence of dispersal and connectivity on metacommunity structure is to focus on characterizing the beta diversity patterns of communities possessed of species with distinct dispersal abilities (Kärnä et al. 2015; Tonkin et al. 2018). The beta diversity summarizes the variability in species composition between sampling units or ‘local communities’ (Anderson et al. 2006). Therefore, analyzing the beta diversity patterns along stress gradients may help disentangling the effects of environmental heterogeneity, network spatial structure, and/or dispersal-driven processes on metacommunity structure (Gutiérrez-Cánovas et al. 2013; Heino et al. 2015). By decomposing beta diversity in its turnover and nestedness components (Baselga 2010), it is also possible to infer the main effects of a particular stressor on metacommunity structure (Gutiérrez-Cánovas et al. 2013; Socolar et al. 2016). That is, if nestedness is the major driver, the stressor may promote assemblage disaggregation and leads communities at impaired zones to be subsets of the undisturbed ones (Gaston et al. 2000; Tornés and Ruhí 2013). On the contrary, if turnover is the main driver, the stressor may promote the replacement of some species by others according to their stress tolerance (Qian et al. 2004).

We therefore used beta-diversity metrics to assess the effect of deforestation on the distribution patterns of benthic communities, and to determine how it is modulated by the occurrence of upstream refugia and dispersal ability. So forth, we evaluated beta-diversity patterns of high-elevation Tropical benthic communities within four Andean streams, all having an upstream section with well-protected forest and two downstream sections with varying degrees of forest cover loss (Fig. 1a). As populations of high-dispersal species may persist at impaired reaches through colonization from upstream refugia—in a source-sink dynamics (Leibold et al. 2004; Leibold and Chase 2018), we expected communities possessed of species with low dispersal ability to track better the local environment changes linked to deforestation. Thus, we hypothesized the relationship between beta-diversity and environmental dissimilarity between reaches of each stream to be weaker as dispersal ability increases (Fig. 1b). Besides, if local environmental conditions change in line with forest cover, we also hypothesized that within-stream beta-diversity will change accordingly to the degree of forest cover loss along each stream: a lower beta-diversity should be expected when the forest cover is similar along the stream, as local environment is similar between reaches (Fig. 1b, stream “S1”); a gradual increase in beta-diversity had to be expected when the stream had a gradual loss of forest cover (Fig. 1b, streams “S2” and “S3”); and, finally, when the forest cover would abruptly decrease (Fig. 1b, stream “S4”), beta-diversity should be expected to increase abruptly as well.

Fig. 1
figure 1

Percentage of forest cover at each stream reach (a) and conceptual scheme representing the expected biotic and environmental dissimilarity among reference and impact stream reaches (b). The dotted rectangles represent the expected position of each stream in the relationship between community and environmental dissimilarity. The dotted circles represent S4 stream reaches

We tested these hypotheses by using three benthic communities possessed of taxa with specific dispersal abilities, since they show differences in their body size and dispersal strategy (De Bie et al. 2012; Padial et al. 2014). The first community is made up by benthic diatoms, which are passively dispersing organisms. Diatoms are sessile microorganisms whose dispersal is mostly passive and confined to the stream network (Liu et al. 2013). However, the small body size of diatoms is usually related to a high dispersal capacity (Padial et al. 2014). The second community selected was the non-biting midges (Chironomidae), which hardly disperse actively due to their small body size but can passively reach longer distances in both aerial and aquatic pathways (Serra et al. 2017). And the third community is that made up by Ephemeroptera, Plecoptera and Trichoptera (EPT), which are taxa with active dispersal through aquatic and aerial pathways (Malmqvist 2000; Graham et al. 2017). Given their high dispersal ability, EPT taxa tend to seek for the most suitable places for inhabiting or laying eggs (Thompson and Townsend 2006; Lancaster and Downes 2017). Overall, these three communities represent a great set to assess for the role of dispersal on structuring benthic metacommunities. All three communities are frequently used in bioassessments due to their sensitivity to environmental changes (e.g. Barbour et al. 1999; Leira and Sabater 2005; Buss and Vitorino 2010; Lencioni et al. 2012; Milošević et al. 2013; Tornés et al. 2018); and therefore, can be accurately used for assessing the effects of deforestation on river integrity and health.

Methods

Study design and site selection

The Andean mountains are one of the most diverse regions in the world, but also highly impaired by historical land-use changes (Myers et al. 2000; Etter et al. 2008). About 62% of the natural ecosystems had been cleared by 2000, and causes are multiple and include human settlement expansion, cattle rising, illegal cropping, and the expansion of agricultural frontiers (Rodríguez Eraso et al. 2012). Although Andean countries have laws for protecting the forest, the minimum width—30 m in general—is usually not maintained along stream corridors. This has caused that Andean streams exhibit a patched pattern of forest along their corridors: the most cleared zones are located near human settlements, and the most preserved are confined to protected or inaccessible areas, such as headwaters or stepper valleys (Armenteras et al. 2011). We used this pattern as an opportunity to study the relevance of these patches on the response of three different benthic communities to deforestation.

We selected four second-order streams from the high-Andean region which differed to each other on the patterns of riparian forest cover loss. All four streams drain to the Meta River basin and are located between 2300 and 2800 m a.s.l (department of Cundinamarca, Colombia; Fig. 2a). Their waters drain areas mainly cover by high-Andean forest ecosystems but some of them (S1 and S4) flow partially through Páramo ecosystems. Páramo regions are endemic to the Neotropical Andean Mountains and are recognizable by their extreme temperature variations (intraday variations of more than 20 °C), soils with a high water retention capacity (such as Andisols), and vegetation chiefly comprised of giant rosette plants (Espeletia), shrubs, and grasses (Buytaert et al. 2006).

Fig. 2
figure 2

Study zone map (a) and the scheme representing the sampling design and the procedure to estimate pairwise distances within and among streams (b). The rectangles represent stream reaches. (Color figure online)

Using aerial photographs (Google Maps Pro 2017, version 7.1), we estimated the forest cover along the stream channel within buffers of 30 m-width (representing the minimum width established by the Colombian Ministry of Environment: decree 2245 of 2017). After scanning photographs, we selected one segment of minimum 2 km-long per stream and established three sampling reaches of 100 m-long. Stream reaches, which consisted of at least three riffles, were separated to each other by ca. 1 km (Fig. 2b). Although some studies have demonstrated that insect dispersal may be as high as 5 km (reviewed by Bohonak and Jenkins 2003), recent evidence points out that dispersal of Diptera, Plecoptera, Ephemeroptera and Trichoptera individuals may be lesser than 1 km within a generation (Macneale et al. 2005; Poff et al. 2006; Winking et al. 2014; Graham et al. 2017). Therefore, this distance was considered sufficient to reliably assess the influence of dispersal ability on community responses to deforestation. Particularly, in our study streams, where we found at least one waterfall between the sampling reaches of each stream.

Environmental and biological data collection

The sampling was conducted during the dry season (10th to 22nd February 2017), when biological communities (insects and diatoms) were well developed. Environmental and biological samples were collected in the riffle sections of each stream segment. We measured 11 environmental variables in order to characterize the environmental conditions of each of the reaches (Table 1). Conductivity, pH, oxygen, and temperature were recorded using a HANNA HI98194 water quality meter. Canopy cover (%) was estimated from an upward photo taken through a fisheye lens. Channel width, depth and current velocity were measured at two cross-channel transects located at the beginning and ending sections of each riffle. Depth and water velocity were measured at 0.25 m intervals, and the average value per riffle section was used in the analyses. The total suspended solids (TSS) were determined by filtering 500 ml of stream water in a pre-weighted GFF filter and drying the filter for 1 h at 105 °C. Organic matter was collected from each Surber sample after sorting all invertebrates (see below), dried for 48-72 h at 70 °C, and oven-dried for 4 h at 500 °C to obtain the ash-free dry weight (Elosegi and Sabater 2009). The ash-free dry weight of each sample was used as a proxy of the Benthic Organic Matter (BOM) collected at each sample.

Table 1 Range of values of the physical and chemical variables measured in the study streams

We collected brush-scraped material from a 0.008 m2 surface of 30 boulders of similar size at each riffle for the diatom samples. Samples were preserved in a Transeau solution (1:1 ratio) and taken to the laboratory where diatom frustules were cleaned from the organic material using hydrogen peroxide. We mounted frustules on permanent slides using Naphrax® medium. Slides were observed with immersion oil at a 1000 × magnification under a light microscope and identified at genus-level using specialized monographs (Krammer and Lange-Bertalot 1986, 1988, 1991a, b; Metzeltin and Lange-Bertalot 2007; Bellinger and Sigee 2015). At least 400 valves were counted for each slide.

The invertebrates were collected following a multi-habitat sampling procedure. This was performed by collecting 5 Surber (mesh size 350 Mm, area 0.09 m2) samples in stream substrata selected according to the corresponding habitat coverage. For instance, if a riffle was composed by 60% of boulders, 30% gravels, and 10% cobbles, 3 Surber samples of the first, 1 of the second, and 1 of the third substrate type were collected. A total of 60 samples were taken for this study (4 streams/segments × 3 riffles × 5 samples), each sample being preserved in a plastic bottle with 96% alcohol. In the laboratory, all the individuals were sorted and identified at genus-level following specialized keys (Trivinho-Strixino and Strixino 1995; Merritt and Cummins 2008; Domínguez and Fernández 2009; Prat et al. 2011, 2014).

Data preparation

The grain sizes for insect and diatom communities were a Surber sample and a composed sample per riffle, respectively. To create comparable datasets, Chironomidae and EPT abundances were weighed according to the substrate coverage at each riffle. Thus, all three datasets had a grain size equivalent to a riffle section; and therefore, a total of 36 rows (4 stream segments × 3 reaches—1 reference, 2 downstream impairments— × 3 riffles).

Data analysis

We tested the abovementioned hypotheses by measuring the relationship strength between community and environmental dissimilarities within each stream. Community dissimilarity, estimated by using Sørensen (Sørensen 1948) and Morisita–Horn (Horn 1966) distances, tell us how much community composition changed between reaches with different degrees of forest loss. Meanwhile, environmental dissimilarity, estimated by using a Euclidean distance, tell us how much the local environment changed due to the loss of forest cover. Thus, if environmental sorting is determining community composition, we expected this relationship to be stronger in streams with a greater degree of forest cover loss along their course. The greater the loss, the greater should be the impact on the local environment; and therefore, the greater should be the change in community composition.

To evaluate and compare the strength of this relationship between streams and communities, we used the regression coefficients obtained from linear regressions of the Sørensen and Morisita–Horn pairwise distances against the Euclidean pairwise distances. Pairwise-Euclidean distances were estimated by using uncorrelated variables (Pearson correlation coefficient < 0.6; Booth et al. 1994) to minimize collinearity: BOM, pH, conductivity, temperature, TSS, Canopy cover, oxygen saturation, depth, current velocity, and width. On the other hand, a matrix of incidence data (presence-absence) was used for estimating Sørensen distances, and a matrix of relative abundances was used for estimating Morisita–Horn distances. These two distances allow us to evaluate how much of the dissimilarity was driven by differences in species composition (Sørensen) or by changes in species relative abundance (Morisita–Horn). Besides, the Morisita–Horn distances shows a high resistance to under-sampling by giving higher weight to the most abundant species. Since the Morisita–Horn is related to the Sørensen index, two communities having the same species and analogous abundances distribution, will provide the same values in the two indices (Jost et al. 2011). This property is useful for disentangling in which way riparian loss affects species composition or their abundances. Additionally, we decomposed the Sørensen index (βSOR) in their Turnover (βSIM) and Nestedness (βNES) components (Baselga 2010).

As our aim was to evaluate how the occurrence of upstream refugia can modulate community-level responses to deforestation, we only estimated pairwise distances within-streams but not among them (Fig. 2b). Moreover, as it has been found in other Tropical zones (Múrria et al. 2015), our streams were significantly different in terms of their community composition (see Fig. S1; Table S1). Thus, we considered that estimating distances between streams could add unnecessary noise to the analysis, while not providing additional evidences for testing our hypotheses.

We estimated regression coefficients for each stream (“within-stream”) and for all streams (“among-streams”) (Fig. 2b). Within-streams, we quantified the relationship using a simple linear regression of the pairwise distances between reaches of each stream (n = 27 pairs for stream). We used the coefficients of these regressions to evaluate if the community-environment relationship change at each stream and depending on the community. For quantifying the among-streams relationship, we pooled the pairwise distances between reaches of each stream (n = 108 pairs) and performed generalized least squares (GLS) regressions. The coefficients of these regressions allow us to evaluate if the responses to deforestation varied depending on the community. We used GLS since these models can deal with data violating the heteroskedasticity assumption—heterogeneous variances among groups (streams). The heterogeneity of each stream was included in the random term of the model as suggested by Zuur et al. (2009). All analyses and graphical outputs were performed with the packages vegan (Oksanen et al. 2013), ade4 (Chessel et al. 2004), betapart (Baselga and Orme 2012), and ggplot2 (Wickham 2010) of R Statistical software v 3.4.1 (R Core Team 2018). All the assumptions were previously tested by following Zuur et al. (2009) suggestions.

Results

We identified 26 genera of diatoms, 28 genera of Chironomidae and 26 genera of EPT (9 genera of Ephemeroptera, 1 genus of Plecoptera, and 16 genera of Trichoptera) in the whole set of stream reaches (Supplementary Tables S2, S3, S4). The accumulation curves indicated that sampling was adequate, since curves tended to approach an asymptote (Fig. S2).

Deforestation effects on stream’s local environmental were evidenced 1 km and 2 km downstream from undisturbed reaches (Fig. 3). The physical and chemical characteristics tended to change in line with the percentage of forest cover loss. However, the magnitude of change varied depending on the stream. We observed a low dissimilarity between reference and impaired reaches at streams S1 and S2, but a high dissimilarity within reaches of the stream S3 (the most impaired stream). At the stream S4, the environmental conditions did not reflect the abrupt loss of forest coverage starting 2 km downstream of the undisturbed reach (Fig. 3c, d). Canopy cover, temperature, TSS, and conductivity were the variables that significantly changed within each stream (Table 1). Canopy cover diminished in disturbed reaches, while temperature, TSS and conductivity increased at undisturbed reaches.

Fig. 3
figure 3

On the left column, the mean and standard error (SE) of the Euclidean pairwise distances (representing environmental dissimilarity) between the undisturbed and the impaired reaches located 1 km (a) and 2 km (b) downstream. On the right column, the percentage of forest cover the undisturbed to the impaired reaches (1 km—C, 2 km—D) of each stream (S1–S4)

The relationships among the communities’ beta diversity and the environmental dissimilarity caused by deforestation among-streams are represented in Fig. 4, while, within-stream relationships are summarized in Table 2. We found that the diatom dissimilarity increased in line with environmental dissimilarity among-streams (Fig. 4a, regression coefficient = 0.089, SE = 0.008, p value < 0.001). Within-streams (Table 2), the most pronounced change occurred at S3, and in a lesser degree in S2, which are the streams with a gradual loss of riparian coverage downstream of the reference reach. The Chironomidae communities did not significantly respond to the environmental changes driven by deforestation, neither in the within- nor among-stream comparisons (Fig. 4b, regression coefficient = − 0.008, SE = 0.005, p-value = 0.16). Finally, the dissimilarity of EPT communities increased in line with the environmental dissimilarity (Fig. 4c, r = 0.045, SE = 0.009, p-value < 0.001). However, this among-stream trend disappeared within streams, although the Sørensen index (dissimilarity) increased accordingly to the total amount of forest loss among-streams, it remained similar within each stream.

Fig. 4
figure 4

Relationship among diatom (a), Chironomidae (b) and EPT (c) dissimilarities (Sørensen index; βSOR) and the environmental dissimilarity among (black line) and within streams (color lines). Trend lines are modeled by using generalized least squares (GLS)

Table 2 Regression coefficients of the estimated relationships between diatom, Chironomidae and EPT dissimilarities (Sørensen index; βSOR) and the environmental dissimilarity within streams

Table 3 summarizes the relationships between the environmental dissimilarity and the nestedness and turnover within each stream of the three communities (i.e. diatoms, Chironomidae and EPT). Nestedness and turnover of diatom communities increased among-streams. The higher dissimilarity value and the larger regression coefficient suggest that diatom dissimilarity was mainly driven by processes promoting nestedness. The turnover and nestedness components of Chironomidae communities significantly decreased with environmental changes only within the stream S4. Finally, in the EPT communities only the turnover component responded significantly to the environmental dissimilarity among-streams. Within-streams, the turnover and the nestedness components responded significantly at streams S1 and S3, respectively.

Table 3 Regression coefficients of the estimated relationships between diatom, Chironomidae and EPT beta-diversity components (turnover and nestedness) and the environmental dissimilarity among and within streams

The relationships between beta diversities and environmental dissimilarities became all significantly positive when considered the Morisita–Horn index (Fig. 5). Chironomidae communities exhibited the less pronounced changes in dissimilarity (Fig. 5b; r = 0.041, SE = 0.016, p-value = 0.013), followed by diatom (Fig. 5a; r = 0.043, SE = 0.013, p-value = 0.0019), and EPTs (Fig. 5c; r = 0.065, SE = 0.016, p-value   ≤ 001). Overall, the dissimilarity of the three communities increased with environmental dissimilarity within the S3 stream. We also observed a positive correlation within S4 stream for diatom and Chironomidae communities, and only within S1 stream for diatoms (Table 4).

Fig. 5
figure 5

Relationship among diatom (a), Chironomidae (b) and EPT (c) dissimilarities (Morisita–Horn index) and the environmental dissimilarity among (black line) and within streams (color lines). Trend lines are modeled by using generalized least squares (GLS)

Table 4 Regression coefficients of the estimated relationships between diatom, Chironomidae and EPT dissimilarities (Morisita–Horn index) and the environmental dissimilarity within streams

Discussion

The use of alpha-diversity and bioassessment-derived metrics relies on the assumption that biological communities track the environmental modifications caused by one or multiple stressors (Siqueira et al. 2014; Buss et al. 2015). Here, we showed that three benthic communities (diatoms, non-biting midges and EPT) may not necessarily track the loss of forest cover occurring along high-Andean streams, even when the local environmental conditions changed as affected by this stressor. The distinct dispersal abilities of species from each community and the occurrence of upstream refugia in all streams provide enough evidence to hypothesize that dispersal may override the effects of deforestation, even when the forest loss is overwhelming (in the way it occurs in stream S3 or S4). Well-preserved upstream zones may act as source patches (refugia) of non-tolerant species that can persist in unsuitable conditions (sink patches) through dispersal-driven feedbacks.

The influence of dispersal-driven processes on diversity and distribution patterns has been already evidenced (reviewed in Tonkin et al. 2018). Briefly explained, at one end, lower dispersal ability can constrain species to track their preferred environmental conditions; and at the other, higher dispersal ability can override the constrains imposed by local environment conditions (Leibold et al. 2004). So forth, our results support our hypothesis that dispersal ability can modulate the control exhorted by environmental filtering, and therefore the relationship between community (beta diversity) and environmental dissimilarities. However, it emerged in an unexpected way. We found that species with passive but higher dispersal ability (diatoms; Soininen 2007; Liu et al. 2013; Padial et al. 2014) were the best trackers of deforestation along the watercourse. Meanwhile, EPT and chironomid taxa, which a priori are active dispersers and can track for suitable conditions, were partially or not affected at all by deforestation.

Beta diversity patterns suggest different drivers underlying the responses of each community to deforestation. Environmental sorting can be the main driver of dissimilarity across communities in organisms with passive but higher dispersal ability, such as diatoms. Their beta-diversity tended to increase proportionally to the percentage of forest loss: the greater the loss, the greater the diatoms beta-diversity. This trend and the relatively higher importance of nestedness on their distribution suggest that deforestation is promoting the increase in species diversity via greater resource availability and habitat heterogeneity. In deforested reaches, the longer periods of light availability, greater inputs of nutrients and diversity of microhabitats (i.e. filamentous algae) may facilitate species coexistence by niche differentiation (Tilman et al. 1982; Passy 2008). In fact, we observed diatom guilds to expand from prevalent low-profile taxa with short stalks, or cells completely adhered at the substratum (i.e. Achnanthidium) in the undisturbed reaches, to others of higher profile with longer stalks or developing in mucilaginous tubes (such as Gomphonema and Encyonema) in the disturbed sections.

The insect communities did not track the loss of forest cover in the same manner that diatoms did. Their beta diversity within-streams was weak or unrelated to the environmental changes caused by deforestation. Taking into account that the two communities were made up by taxa with moderate to high dispersal abilities, downstream populations of non-tolerant species can be maintained by the flux of individuals from the upstream refugia patches (e.g. Downes et al. 2016). Depending on the community, the fluxes of individuals may override partially or completely the impact of deforestation at downstream reaches. Chironomidae communities, for instance, did not exhibit a change in their beta-diversity when used incidence data. Although non-biting midges are weak flyers, their larvae—especially from Orthocladiinae tribe—disperse commonly through the drift (Williams 1989; Ríos-Touma et al. 2011). Precisely, the Orthocladiinae is one of the dominant groups in Andean streams (Acosta and Prat 2010; González-Trujillo and Donato-Rondon 2016), and their constant flux from the upstream reaches could allow the persistence of non-adapted taxa under adverse conditions, and consequently, keeping lower dissimilarity within our study streams. This ‘mass effect’ process (Leibold et al. 2004), can explain the null and weak changes in beta-diversity observed for incidence and abundance data, respectively. Mass effects maintain the occurrence of the major part of taxa along the river, but their abundances can diminish or increase according to their tolerance to the changes caused by deforestation. In addition, Chironomidae is a group composed by many species well-known as tolerant to environmental disturbance (e.g. Gresens et al. 2007), and consequently the stream impairment may affect less this assemblage than diatoms and EPT, driving a similar species composition among stream reaches.

The EPT communities exhibited a weaker relationship with environmental dissimilarity when used incidence data, but a stronger relationship when abundance data were used instead. It suggests that both the environmental conditions and the dispersal-ability are underlying the observed patterns. On one hand, the weaker relationship found when using incidence data provided some evidence that EPT communities are not dispersal-limited among- or within-streams. On the other hand, the strong relationship found by using the Morisita–Horn index indicates that, similar to chironomids, deforestation is probably not restricting taxa occurrence, but affecting their abundance according to their stress tolerance. The EPT communities are traditionally considered to be quite sensitive to environmental disturbances, because species usually track their preferred environmental conditions (Lenat 1993). This may justify the stronger effects of deforestation on EPT dissimilarity than in Chironomidae among stream reaches.

However, the results of the within-stream relationships also suggest that deforestation effects on EPT communities could be context-dependent. We observed that the Sørensen dissimilarity increased according to the total amount of forest loss among-streams, but not within each stream (Figs. 4, 5), and this suggests the existence of a threshold from which the composition of EPT taxa changes abruptly as affected by the environmental changes linked to deforestation. The absence of suitable places for laying eggs appears to be one of the major changes constraining EPT occurrence in deforested reaches. EPT taxa have been recorded in Andean, and worldwide streams, as active trackers of the best oviposition places, whose suitability is determined mainly by the substratum type, protruding and shading degree, and its associated water velocity (Hoffmann and Resh 2003; Encalada and Peckarsky 2006; Rios-Touma et al. 2012; Lancaster and Downes 2017). As those factors can be directly or indirectly affected by forest loss, the recruitment of EPT taxa can also be affected by the degree of deforestation. However, further understanding on oviposition patterns of these organisms is needed in order to disentangle the effect of deforestation on the recruitment process.

Implications for conservation

Our findings showed context-dependent responses to deforestation on high-Andean streams, where the type of community and the occurrence of upstream refugia can confound the assessment of this stressor. Along patchy corridors, as those of Andean streams, the existence of well-preserved upstream reaches can allow non-tolerant species to remain extant throughout dispersal-driven feedbacks. Therefore, not all communities might be adequate for assessing the impact of deforestation on high-Andean streams. Furthermore, considering both—the dispersal ability of bioindicators and the occurrence of refugia—is essential to achieve reliable conservation plans, given that they may mitigate negative local effects on biodiversity produced by human impacts such as deforestation (e.g. Bitušík et al. 2017).

The results reported here indicate three key aspects that need to be considered to enhance conservation and restoration efforts. Firstly, a deeper knowledge about the species traits (e.g. ability and mode dispersal) so our understanding of the effects of deforestation on biodiversity can be improved. Secondly, the conservation of upstream sections is a key aspect to consider for successful restoration or rehabilitation programs, as it has been previously suggested by Palmer et al. (1997). Thirdly, ecologists and conservationists should include beta-diversity measures incorporating species incidence and abundance, in addition to alpha-diversity metrics when studying deforestation effects on biodiversity.