scieee AI-readable full text Open interactive document viewer

High-resolution 3D forest structure explains ecomorphological trait variation in assemblages of saproxylic beetles

Drag, Lukas,Burner, Ryan C.,Stephan, Jörg G.,Birkemoe, Tone,Doerfler, Inken,Gossner, Martin M.,Magdon, Paul,Ovaskainen, Otso,Potterf, Mária,Schall, Peter,Snäll, Tord,Sverdrup‐Thygeson, Anne,Weisser, Wolfgang,Müller, Jörg

Full text

This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY-NC-ND 4.0 https://creativecommons.org/licenses/by-nc-nd/4.0/ High-resolution 3D forest structure explains ecomorphological trait variation in assemblages of saproxylic beetles © 2022 The Authors. Functional Ecology published by John Wiley & Sons Ltd on behalf of British Ecological Society. This article has been contributed to by U.S. Government employees and their work is in the public domain in the USA. Accepted version (Final draft) Drag, Lukas; Burner, Ryan C.; Stephan, Jörg G.; Birkemoe, Tone; Doerfler, Inken; Gossner, Martin M.; Magdon, Paul; Ovaskainen, Otso; Potterf, Mária; Schall, Peter; Snäll, Tord; Sverdrup‐Thygeson, Anne; Weisser, Wolfgang; Müller, Jörg Drag, L., Burner, R. C., Stephan, J. G., Birkemoe, T., Doerfler, I., Gossner, M. M., Magdon, P., Ovaskainen, O., Potterf, M., Schall, P., Snäll, T., Sverdrup‐Thygeson, A., Weisser, W., & Müller, J. (2023). High-resolution 3D forest structure explains ecomorphological trait variation in assemblages of saproxylic beetles. Functional Ecology, 37(1), 150-161. https://doi.org/10.1111/1365-2435.14188 2023 Functional Ecology. 2022;00:1–12. | 1wileyonlinelibrary.com/journal/fec Received: 30 October 2021 | Accepted: 12 September 2022 DOI: 10.1111/1365-2435.14188 RESEARCH ARTICLE Animal Functional Traits Highresolution 3D forest structure explains ecomorphological trait variation in assemblages of saproxylic beetles Lukas Drag1,2 | Ryan C. Burner3,4 | Jörg G. Stephan5 | Tone Birkemoe4 | Inken Doerfler6 | Martin M. Gossner7,8 | Paul Magdon9 | Otso Ovaskainen10,11,12 | Mária Potterf10 | Peter Schall13 | Tord Snäll5 | Anne Sverdrup- Thygeson4 | Wolfgang Weisser14 | Jörg Müller1,15 1Field Station Fabrikschleichach, Department of Animal Ecology and Tropical Biology, Biocenter, University of Würzburg, Rauhenebrach, Germany; 2Institute of Entomology, Biology Centre of the Czech Academy of Sciences, Ceske Budejovice, Czech Republic; 3U.S. Geological Survey, Upper Midwest Environmental Sciences Center, La Crosse, Wisconsin, USA; 4Faculty of Environmental Sciences and Natural Resource Management, Norwegian University of Life Sciences, Ås, Norway; 5SLU Swedish Species Information Centre, Swedish University of Agricultural Sciences, Uppsala, Sweden; 6Institute of Biology and Environmental Science, Vegetation Science & Nature Conservation, University of Oldenburg, Oldenburg, Germany; 7Forest Entomology, Swiss Federal Research Institute WSL, Birmensdorf, Switzerland; 8Department of Environmental Systems Science, ETH Zurich, Institute of Terrestrial Ecosystems, Zurich, Switzerland; 9Forest Inventory and Remote Sensing, University of Göttingen, Göttingen, Germany; 10Department of Biological and Environmental Science, University of Jyväskylä, Jyväskylä, Finland; 11Organismal and Evolutionary Biology Research Programme, University of Helsinki, Helsinki, Finland; 12Department of Biology, Centre for Biodiversity Dynamics, Norwegian University of Science and Technology, Trondheim, Norway; 13Silviculture and Forest Ecology of the Temperate Zones, University of Göttingen, Göttingen, Germany; 14Department of Ecology and Ecosystem management, Technische Universität München, Freising- Weihenstephan, Germany and 15Bavarian Forest National Park, Grafenau, Germany Correspondence Lukas Drag Email: [email protected] Funding information European Research Council, Grant/ Award Number: No 856506; Research Council of Norway, Grant/Award Number: 223257; Jane and Aatos Erkko Foundation; Academy of Finland, Grant/ Award Number: 309581; Deutsche Bundesstiftung Umwelt; Bayerisches Staatsministerium für Ernährung, Landwirtschaft und Forsten, Grant/Award Number: L55; Research Foundation, Grant/Award Number: AM 149/16- 3; Belmont Forum and BiodivERsA Handling Editor: Matthias Schleuning Abstract 1. Climate, topography and the 3D structure of forests are major drivers affecting local species communities. However, little is known about how the specific functional traits of saproxylic (woodliving) beetles, involved in the recycling of wood, might be affected by those environmental characteristics. 2. Here, we combine ecological and morphological traits available for saproxylic beetles and airborne laser scanning (ALS) data in Bayesian traitbased joint species distribution models to study how traits drive the distributions of more than 230 species in temperate forests of Europe. 3. We found that elevation (as a proxy for temperature and precipitation) and the proportion of conifers played important roles in species occurrences while variables related to habitat heterogeneity and forest complexity were less relevant. Furthermore, we showed that local communities were shaped by environmental variation primarily through their ecological traits whereas morphological traits were involved only marginally. As predicted, ecological traits influenced species' responses to forest structure, and to other environmental variation, with canopy niche, wood decay niche and host preference as the most important ecological traits. Conversely, no links between morphological traits and environmental This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non-commercial and no modifications or adaptations are made. © 2022 The Authors. Functional Ecology published by John Wiley & Sons Ltd on behalf of British Ecological Society. This article has been contributed to by U.S. Government employees and their work is in the public domain in the USA. 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License 2 | Functional Ecology DRAG et al. 1 | INTRODUCTION Climate, topography and the 3D structure of trees and shrubs are the main drivers of animal diversity across different taxa in forest ecosystems (Gouveia et al., 2014 for primates; Jung et al., 2012 for bats; Müller, Stadler, et al., 2010; Müller, Noss, et al., 2010 for birds; Rinker et al., 2001 for arthropods). The composition and distribution of species inhabiting the complex structures of forests can be determined both directly by specific structural features (e.g. host plants, deadwood, vertical biomass distribution) and indirectly by varying microclimatic conditions, such as radiation, temperature or humidity (Davies & Asner, 2014). Local climate conditions are further affected by the topography, with higher variation in rough terrain. Such local variation in micro- and topoclimate can even override macroclimatic gradients along elevation or latitude (Hodkinson, 2005). Species' responses to variation in forest structure and climate should be mediated by their traits (Burner, Stephan, Drag, et al., 2021). Consequently, changes in environment can alter the functional diversity of communities and this in turn can have strong impacts on community dynamics and stability, as well as ecosystem processes (de Bello et al., 2021). Yet, our understanding of the relationships between topographic, climatic and forest structure variables and specific functional traits in arthropods is still mostly lacking. Saproxylic (woodliving) beetles are a taxonomically, phylogenetically and functionally diverse group of insects, accounting for roughly onethird of all forestdwelling arthropod species (Kuuluvainen & Siitonen, 2013). By a common definition (Speight, 1989), saproxylic beetles are those that are closely associated with dead or decaying wood during at least some part of their life cycle. However, despite their important role as indicators of forest biodiversity (Bouget et al., 2013; Lachat et al., 2012), little is known about which functional traits directly influence the occurrences of beetles under different forest conditions. In saproxylic beetles, most traitbased studies employed ecological (e.g. Gossner et al., 2013; Laaksonen et al., 2020), morphological (Hagge et al., 2021) or lifehistory traits (Gillespie et al., 2017) or their combinations (Wetherbee et al., 2020). Ecological traits can be considered as the intrinsic characteristics directly linking species with their specific resources (Seibold et al., 2015). Due to their general character, they stand as surrogates of several more specific traits (e.g. morphological traits). As ecological traits cannot be measured on a single individual but rather represent experts' often subjective judgements about a given species (e.g. microhabitat preferences, trophic guilds or their feeding types; Freude et al., 1983; Köhler, 2000; Möller, 2009; Schmidl & Bussler, 2004), they should not be considered as traits in the strict sense (Violle et al., 2007). Nevertheless, they have been successfully used to assess the changes in functional diversity of saproxylic beetles along the forest gradients (Burner, Stephan, Drag, et al., 2021; Hagge et al., 2019; Janssen et al., 2017) and at sites affected by salvage logging (Thorn et al., 2014), or to estimate the extinction risk of species within this group (Seibold et al., 2015). Unlike ecological traits, morphological traits are replicable, independent measurements of different body parts usually following a standardized protocol (Moretti et al., 2017). Except body size (e.g. Gossner et al., 2013; Laaksonen et al., 2020; Müller & Brandl, 2009), however, morphological traits have been employed only rarely in saproxylic beetles, mostly due to the complicated and labourintensive trait collection process (Hagge et al., 2021). Nevertheless, theory suggests that they should be ecologically relevant, as species' morphological structures are linked to specific ecological functions that can directly respond to changing environmental conditions or landuse intensity (Barton et al., 2011). Moving from an understanding of species relationships along environmental gradients in forest to identifying the traits that underpin these relationships is thus a critical step in understanding community assembly and its underlying mechanisms (McGill et al., 2006). In this study, we explore these trait– environment relationships by combining relevant morphological (Table 1) and ecological (Table 2) traits, information from airborne laser scanning (ALS) and field sampling. Based on previous publications and the proposed ecological functions of morphological traits (Hagge et al., 2021), we developed five predictions about how environmental characteristics measured in our study may influence the distribution of morphological traits of saproxylic beetle communities (Table 1). We apply a traitbased joint species distribution model (JSDM) to investigate how the occurrence probability of saproxylic beetle species changes characteristics were observed. Both models, however, revealed strong phylogenetic signal in species' response to environmental characteristics. 4. These findings imply that alterations of climate and tree species composition have the potential to alter saproxylic beetle communities in temperate forests. Additionally, ecological traits help explain species' responses to environmental characteristics and thus should prove useful in predicting their responses to future change. It remains challenging, however, to link simple morphological traits to species' complex ecological niches. KEYWORDS airborne laser scanning, Bayesian modelling, Coleoptera, environmental gradient, functional traits, HMSC, LiDAR, phylogeny 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License | 3 Functional Ecology DRAG et al. along environmental gradients in Germany, and which traits predict variation in beetle responses. 2 | MATERIALS AND METHODS 2.1 | Study area and species sampling The data used for this study are from 384 plots covering five distinct regions in Germany (Figure 1; for more details, see Appendix S1). As many of these data have been previously used in other studies, additional methodological details for each of the projects are available in the original publications (e.g. Bae et al., 2019; Heidrich et al., 2020). Briefly, the five regions represented diverse forest types in Central Europe, covering the whole gradient of forest management intensities (unmanaged oldgrowth forest– intensively managed forest), tree species composition (broadleaved– coniferous) and climate represented by elevation (lowland– mountains; 87– 1420 m a.s.l.). At each 1- ha plot, one pitfall trap and one flight interception trap (40 × 60 cm, hung ca. 1.5 m above the ground) were set from March to October during a single year (2007, 2008 or 2016, depending on the project), and emptied once a month. The beetles were pooled from the entire season at each plot and identified morphologically to the species level by experts. The dataset was then filtered to include only TABLE 1 Morphological traits (taken from Hagge et al., 2021) used to study beetle responses to environmental gradients including their presumed ecological functions Trait Range Units Predictions Presumed ecological function and the mechanism Colour 78– 154 dark— pale index Colour lightness will decrease at higher elevations Thermoregulation— dark individuals can heat up faster than light individuals, so they should be favoured under conditions of low temperature (Trullas et al., 2007); UV protection— dark individuals have higher resistance to UV radiation, so they should be also favoured in higher elevations (True, 2003) Body length 1.2– 36.2 mm Body sizerelated traits will increase with increasing amount of deadwood and with decreasing canopy density Body size— larger species prefer dead wood of large diameter and of late decay stages (Gossner et al., 2013), or more robust beetles favour open habitats over structurally complex habitats (Barton et al., 2011) Body width 0.4– 16.1 mm Head length 0.2– 5.9 mm Antenna length 0.2– 19.4 mm Eye length and antenna length will decrease with higher canopy density Sensory— larger eyes and longer antennas were related to more open areas in carabid beetles (Talarico et al., 2007) Eye length 0.1– 4.2 mm Front femur length 0.2– 7.1 mm Wing length and front femur length will decrease with increasing deadwood amount and deadwood structure Dispersal ability— ephemeral resourcerelated species have better dispersal ability than the species connected to more stable habitat (Komonen & Müller, 2018) Wing length 1.1– 31.4 mm Jaw length 0.1– 4.1 mm Jaw length will increase with increasing proportion of conifers Wood processing— stronger mandibles can be related to harder wood that adult saproxylic beetles have to deal with (Hagge et al., 2021) Trait Range Categories Source Canopy niche 1– 3 open– closed Seibold et al. (2015) Decay niche 1– 5 alive– decomposed Seibold et al. (2015) Flower visitor 2 categories yes, no Seibold et al. (2015) Host tree 3 categories conifer, broadleaved, both Seibold et al. (2015) Habitat 4 categories wood, mould, fungi, bark Köhler (2000) TABLE 2 Ecological traits used to study beetle responses to environmental gradients 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License 4 | Functional Ecology DRAG et al. saproxylic beetles (n = 519) based on the German reference list of saproxylic beetles (Köhler, 2000; Schmidl & Bussler, 2004). Fieldwork permits were issued by the responsible state environmental offices of Baden- Württemberg, Thüringen and Brandenburg (Table S1). 2.2 | Environmental characteristics To cover a wide range of topographic, climatic and forest structure characteristics, five ALS- based variables (canopy density, vegetation density, elevation, terrain roughness and vertical structure) further supplemented by four forest inventory variables measured onsite (proportion of conifers, deadwood amount, deadwood richness and deadwood structure) were included (Table 3). As many environmental characteristics are highly correlated with each other, we selected only those that have been shown to be the most influential for saproxylic beetles (Heidrich et al., 2020; Müller et al., 2020) and which were not strongly correlated with each other (r < 0.62; Figure S1). The maximum variance inflation factor (VIF) of the covariates was less than three, indicating low multicollinearity (Naimi et al., 2014). As elevation was closely negatively correlated with mean annual temperature and positively correlated with mean annual precipitation (Figure S2), only elevation was included in the models (as a proxy for climate). The ALS- based data were recorded under leafon conditions for each 1- ha plot in all five regions in Germany between 2007 and 2018 and processed following the methods described in FIGURE 1 Five regions in Germany where saproxylic beetles were collected. Biodiversity Exploratories Project (Fischer et al., 2010): SCH— Schorfheide- Chorin region (48 plots), HAI— Hainich region (49 plots), ALB— Schwäbische Alb region (50 plots); BIOKLIM project (Bässler et al., 2009): BAY— Bavarian Forest National Park (168 plots); Steigerwald project (Doerfler et al., 2018): STE— Steigerwald region (69 plots). Forest area data originate from Copernicus HRL Forest products data (www.eea.europa.eu/data- and- maps/). TABLE 3 Environmental characteristics including topographic, climatic and forest variables derived from airborne laser scanner (ALS; Bae et al., 2019) and field measurements (Heidrich et al., 2020). For canopy density, a canopy height model (CHM) with 1- m spatial resolution was derived from the ALS point cloud by assigning each CHM pixel the maximum zvalue of all ALS points within. Similarly, for terrain roughness, a digital elevation model (DEM) with 1- m spatial resolution was derived from the zvalues of all ALS ground returns Variable Description Range Units Source Canopy density Proportion of CHM pixels >2 m 11– 100 %ALS Vegetation density Penetration rate 0 m < x < 2 m <1– 42 %ALS Elevation Mean of the zvalues; proxy for climate (temperature and precipitation) variables 87– 1420 m a.s.l. ALS Terrain roughness Standard deviation of the slope values in the DEM 0.77– 14.45 — ALS Vertical structure Standard deviation of the zvalues from the ALS point cloud 1.13– 12.43 — ALS Proportion of conifers Proportion of conifers by basal area 0– 100 %Measured Deadwood amount Deadwood volume (logtransformed) 0– 2772 m3/ha Measured Deadwood richness Tree species richness of deadwood 1– 9 Number of species Measured Deadwood structure A combination of deadwood objects, decay classes and diameter classes 1– 41 Number of types Measured 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License | 5 Functional Ecology DRAG et al. Bae et al. (2019). The individual measurements of deadwood (deadwood amount, deadwood richness and deadwood structure) were taken from Heidrich et al. (2020). Deadwood richness represented the number of tree species contributing to deadwood objects per plot, whereas the deadwood structure was calculated as the number of different deadwood types (a combination of deadwood objects, decay classes and diameter classes) per plot. The proportion of conifers (as opposed to broadleaf tree species) was calculated based on the basal area of individual tree species identified during a comprehensive forest inventory. 2.3 | Beetle traits To test how traits influence the responses of saproxylic species to the environmental covariates, we used several ecological and morphological traits available in the literature. Specifically, we took five ecological traits from Seibold et al. (2015) and Köhler (2000) (Table 2). Although these traits represent complex responses of multiple functional traits (Violle et al., 2007), some of them have direct links to our environmental characteristics, which makes them a valuable addition in our understanding of beetle functional ecology (Fountain- Jones et al., 2015). Three categorical traits (flower visitor, preferred host tree and habitat type) were based on expert estimates, whereas two continuous traits (canopy niche and decay niche) were estimated as the mean niche position of individual species weighted by their occurrence probabilities (for more details, see Gossner et al., 2013). Additionally, we included nine morphological traits (taken from Hagge et al., 2021), characterizing five important aspects of ecological function in beetles (colour, body shape, locomotion, sensory and foraging; Table 1). Each of these traits was measured using a standardized protocol of trait measurements (Moretti et al., 2017). All the morphological measurements had strong phylogenetic signal (Pagel's lambda ranging from 0.53 to 0.97; Hagge et al., 2021) and, except for colour, were highly correlated with body length. Therefore, they were logtransformed and then standardized for body length by fitting a phylogenetic generalized least squares regression following Hagge et al. (2021). The traits within both sets (ecological and morphological) were only weakly correlated (r < 0.67; VIF < 2.7; Figures S3 and S4). For species missing one or more ecological or morphological traits, different approaches were used to estimate those values (see Appendix S2). To check the robustness of the results with the estimated missing trait values, we repeated the analyses excluding the species containing any missing values and compared the results (Appendix S3). 2.4 | Data analyses We used Bayesian joint species distribution models (JSDMs) from the Hierarchical Model of Species Communities (HMSC; Tikhonov et al., 2020) R- package (R Core Team, 2020) to estimate the role of traits in species' responses to the environment. We excluded species present in five or fewer traps because they were too rare to reliably estimate niches (Ovaskainen & Abrego, 2020). We fitted presence/absence models with a probit link function, including nine environmental characteristics as fixed effects. To account for the hierarchical structure of the study design (plots clustered within five regions in Germany and regions sampled in different years), we included region as a random effect. To account for the spatial autocorrelation of the plots within each region, we also included a spatially explicit random effect on the level of individual plots using their GPS coordinates. To avoid overly complex models by combining many continuous and categorical traits in the same model, we analysed ecological and morphological traits separately in two independent models. In both models, we included traits as a hierarchical level to estimate how species traits influence their responses to environmental variation. To account for possible phylogenetic correlations in the species' responses to the environmental variables, beyond that explained by traits included in the analyses (Ovaskainen & Abrego, 2020), a saproxylic beetle phylogeny derived from Hagge et al. (2021) was included in both models. We fitted the models with Bayesian inference using the default prior distributions of Tikhonov et al. (2020) except that the prior distribution of spatial random effect was modified to span only the range of distances (up to 40 km) which was well represented within each of the regions. For each model, we sampled the posterior distribution with eight Markov chain Monte Carlo (MCMC) chains, each of which was run for 20,000 iterations, out of which the first 15,000 were removed as burnin. The iterations were thinned by 40 to yield 125 posterior samples per chain, and thus 1000 posterior samples in total. We assessed effective sample size (ESS) to assure adequate independence of samples, and potential scale reduction factors (Gelman & Rubin, 1992) to assure model convergence. Model fitting was conducted with highperformance computational resources provided by Würzburg University. We explored the explanatory power of the model by computing the speciesspecific AUCs (area under the curves), measuring how well the models distinguished between the presences and absences of the species. To assess the extent of overfitting of the fixed effects, we performed a twofold crossvalidation, in which the sampling units were assigned randomly to two folds and predictions for each fold were based on a model fitted to data on the other fold. The proportion of total variation explained by fixed effect covariates and the random effect was assessed by variance partitioning (Ovaskainen & Abrego, 2020). For each species, HMSC models include beta (β) parameters which reflect how environmental covariates (e.g. topographic, climatic and forest structure) influence that species' occurrence probability (i.e. that species' niche; Ovaskainen & Abrego, 2020). Niches of each species are not estimated entirely independently from each other but rather may depend on species traits via a hierarchal level in the models. These relationships between traits and niches are estimated by gamma (γ) parameters. At this level, the phylogenetic 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License 6 | Functional Ecology DRAG et al. signal of residual variation in the effect of measured traits on species niches (i.e. the effect of missing species traits) is captured by the rho (ρ) parameter. In other words, rho (0 < ρ < 1) measures the phylogenetic signal in species niches after accounting for the measured traits. High signal suggests that some missing but phylogenetically structured traits explain variation in species niches (β), whereas low signal means that any relevant but unmeasured traits are randomly distributed in the phylogeny. For both models, we estimated the beta, gamma and rho parameters. To understand the species– environment relationships, we extracted the signs of beta parameters and compared the percentage of all species showing positive or negative responses to each environmental covariate with at least 95% posterior probability. To address the trait– environment relationships, we extracted the signs of gamma parameters (positive, negative or no response) with at least 95% posterior probability. We also provided the relaxed level of statistical support (85% posterior probability) to observe even the less supported trait– environmental relationships. Finally, we extracted the median value of rho parameter with its 95% credible interval (i.e. the Bayesian 95% confidence interval). To examine the effects of environmental gradients on communityweighted mean traits, we made model predictions across a gradient of each of five ALS- based characteristics (focal variables) in our fitted model. Across each focal variable gradient, all other environmental covariates were fixed to their mean value. 3 | RESULTS In 384 plots, we detected 519 saproxylic beetle species. Of these, we selected 233 species that were present in more than five plots for inclusion in two JSDMs containing ecological traits and morphological traits respectively. The mean explanatory power of each model (mean AUC over species) was 0.90 and 0.91 respectively. The mean predictive power of both models (based on the crossvalidation) was expectedly smaller than the explanatory powers (AUC = 0.78 and 0.76 respectively). Out of the explained variance, fixed effects explained 76% and 82% in the ecological and morphological model respectively (Figure 2). The most important covariate was elevation (26%) in the ecological model, followed by proportion of conifers and canopy/ vegetation density (8%– 13%). In the morphological model, the most important covariates were vegetation density (34%) and elevation (24%). 3.1 | Species niches Individual species responses were mainly influenced by elevation and proportion of conifers in both models (β parameter; Figure 3). Specifically, 41% of species (n = 95) in the ecological trait model and 28% of species (n = 65) in the morphological trait model responded negatively to elevation, whereas a positive response was recorded for only 6% (n = 14) and 9% (n = 20) of species respectively. Regarding proportion of conifers, 12% of species (n = 28) responded negatively and 31% (n = 72) positively in the ecological model, while 15% (n = 35) responded negatively and 9% (n = 22) positively in the morphological model. Deadwood characteristics (deadwood richness and deadwood structure) and terrain roughness affected occurrences of the fewest saproxylic beetle species. 3.2 | Species traits We found that a rather large part of the variation among species niches was explained by traits in the ecological model (with the proportion of conifers and elevation as the most dominant ones), while the traits in the morphological model explained much less (Table S2). In the ecological trait model, we recorded 12 relationships between species traits and responses to environmental characteristics FIGURE 2 The % of variance explained by nine fixed effect covariates and two random effects (region and site). Based on the results of variance partitioning on models that included ecological traits (white) and morphological traits (black) of saproxylic beetle species (package hmsc; Tikhonov et al., 2020). 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License | 7 Functional Ecology DRAG et al. (γ parameter) that differed from zero with at least 95% posterior probability (Figure 4a). For example, as we expected, the occurrence probabilities of species associated with more shady conditions increased with increasing canopy density, but also with elevation. Furthermore, the occurrence probabilities of species associated with more decomposed wood decreased with canopy density and FIGURE 3 Percentage of all beetle species showing positive (red) and negative (blue) responses to the environmental covariates with at least 95% posterior probability. Light and dark colours represent models based on the morphological and ecological traits respectively (Nspecies = 233). FIGURE 4 Heat map of the gamma (γ) parameter, representing the effects of species traits on species niches (responses to environmental characteristics). Based on models that included (a) ecological traits and (b) morphological traits. The direction of each response is given by the colour (positive: red, negative: blue, no response: white) while the colour intensity represents 95% (dark) and 85% (light) posterior probability. Mean values of γ parameter are given in the supplementary (Tables S3 and S4). 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License 8 | Functional Ecology DRAG et al. increased with increasing deadwood amount, whereas the occurrence probabilities of species associated with broadleaved trees decreased with the higher proportion of conifers and higher deadwood amount and increased with deadwood structure. All associations are listed in Figure 4a. Model predictions supported the abovementioned relationships between species traits and responses to environmental characteristics, and additionally suggested the changes in the proportion of species occurring in different habitats along the elevation gradient (Figure S5). In the morphological model, no association (95% posterior probability) between traits and niches was revealed (Figure 4b). Furthermore, the predicted communityweighted mean body size did not change along any of the five ALS- derived gradients (Figure S6). 3.3 | Phylogenetic signal The residual phylogenetic signal in species niches (after accounting for the measured traits) was intermediate for both models. The median value of the posterior distribution of the ρ parameter was 0.57 (95% CI: 0.43– 0.68) for the ecological model and 0.21 (0.04– 0.52) for the morphological model. Therefore, more phylogenetically correlated nichedetermining traits were missing from the ecological model than from the morphological. 4 | DISCUSSION Recently, much ecological research has shifted in perspective from taxonomy to function, with successful application of traitbased approaches (Cernansky, 2017). Whereas ecological traits have proven to be useful in studying beetles' responses to the environments (Fountain- Jones et al., 2015), morphological traits have been employed very rarely (e.g. Barton et al., 2011; Burner, Stephan, Drag, et al., 2021). In this study, we thus linked for the firsttime detailed ALS- and fieldderived topographic, climatic and forest variables with the independent effects of multiple ecological and morphological traits on saproxylic beetle community assembly. 4.1 | Occurrence probability along the environmental gradients Environmental heterogeneity increases the number of unique habitat types, amounts of resources and overall structural complexity of forests. Therefore, with increasing environmental heterogeneity, there is often an increase in species richness across different taxa (Stein et al., 2014). Accordingly, it has been shown that species richness of saproxylic beetles increases with deadwood, as well as with vertical, horizontal and topographic heterogeneity (Heidrich et al., 2020). Our results, however, indicate that many of these variables had only marginal effects on the occurrences of saproxylic species. For example, deadwood heterogeneity (represented by the taxonomic and structural richness of deadwood) increased occurrence for fewer than 3% of the species. Similarly, vertical and topographic heterogeneity (represented by vertical structure and terrain roughness respectively) increased occurrence for only 7% and 3% of the species respectively. It seems that whereas variables characterizing environmental heterogeneity often increase the species richness of local beetle assemblages, only a few species respond strongly to that increase and their occurrences are mostly driven by other environmental characteristics such as temperature, host tree diversity or canopy density. This may be because of oftenspecific local habitat requirements such as species' close relationship with specific host fungi species (Thorn et al., 2015); host tree species (Burner, Birkemoe, Stephan, et al., 2021); tree hollow microenvironmental characteristics (Quinto et al., 2014); and decay stage, diameter and tree species of deadwood (Speight, 1989). 4.2 | Scale dependency of ALS variables Our study was novel in its inclusion of several ALS- derived environmental covariates as well as those based on ground measurements. As the effects of many environmental characteristics are scale dependent (Levin, 1992), an advantage of ALS technology is that it provides the opportunity for researchers to summarize values at the scale of choice from the tree to the landscape level. For example, using the ALS data, it has been shown that arthropod diversity increased with canopy density at the tree scale, but decreased with increasing canopy density at the stand scale (Müller et al., 2014). Similarly, the effects on functional diversity might be also scale dependent. On the one hand, it has been shown that the functional diversity of saproxylic beetles is driven mainly on the regional level, whereas local diversity simply mirrors those patterns (Hagge et al., 2019). In that case, largescale forest characteristics could be more relevant, as observed for example in naturally disturbed forests (Cours et al., 2021). On the other hand, the importance of variables directly characterizing the beetle species occurrences and their relationship to specific microhabitats has also been emphasized (Dolek et al., 2009; Micó et al., 2020). Such variables, however, cannot be observed directly with ALS, so ALS must be combined with local measurements. This combined approach has proved valuable in assessing habitat for birds (Hinsley et al., 2002), mammals (Melin et al., 2013) and insects (Müller & Brandl, 2009) and is likely to continue to be a fruitful method in the search for trait– environment relationships. 4.3 | Ecological traits Despite the theoretical link between species' traits and their response to the environment (Winemiller et al., 2015), studies quantifying such links across taxa have had mixed success (Burner, Stephan, Drag, et al., 2021; Raine et al., 2018; Yates et al., 2014). Our model including ecological traits showed a rather high number 13652435, 0, Downloaded from https://besjournals.onlinelibrary.wiley.com/doi/10.1111/1365-2435.14188 by University Of Jyväskylä Library, Wiley Online Library on [14/10/2022]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License