📦 Data and R code used in Leclerc et al. (in prep) to investigate the direct and indirect effects of climate change on the trophic and size structure of freshwater fish communities, which may be mediated by biological invasions.
This repository is structured as follow:
📁 ClimateChangeFacetsFishCommunity/ (root of the compendium)
├── 📁 data/ (contains raw-data (read-only and should never be changed))
├── 📁 outputs/ (contains all intermediate and final results sorted by topic)
├── 📁 rfunctions/ (contains the R functions developed for this project)
└── 📁 rscripts/ (contains R scripts organized by topic for running specific analysis)
Used softwares:
version 4.2.2 or greater
version 2022.12.0 or greater
- Install (if necessary) and load all required packages
- Load all required functions
- Bonnaffé, W., Danet, A., Legendre, S. & Edeline, E. (2021). Comparison of size-structured and species-level trophic networks reveals antagonistic effects of temperature on vertical trophic diversity at the population and species level. Oikos, 130, 1297–1309. https://doi.org/10.1111/oik.08173.
- Danet, A., Mouchet, M., Bonnaffé, W., Thébault, E. & Fontaine, C. (2021). Species richness and food-web structure jointly drive community biomass and its temporal stability in fish communities. Ecol. Lett., 24, 2364–2377. https://doi.org/10.1111/ele.13857. Associated compendium: fishcom.
- SizeTrophicInteractions to compile and estimate (if necessary) of the individual body size of the fish.