Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23438248README Data and code for: Climatic rarity shapes Atlantic Forest frog assemblages through range size rather than physiological tolerance Note for reviewers: Global Ecology and Biogeography operates under double-anonymous peer review. Author names, affiliations, funding agencies and acknowledgements have been removed from this deposit and will be added to the metadata after acceptance. GENERAL INFORMATION 1. Paper citation ==to be fulfilled upon acceptance== (DOI pending). 2. Brief abstract We tested whether the climatic niche composition of Brazilian Atlantic Forest anuran assemblages is shaped more by the spatial rarity of climate or by historical climatic stability (Last Glacial Maximum to present, including forest refugia), and whether range-derived niche breadth and physiological thermal tolerance lead to the same conclusion. Climatic niche breadth was estimated for 508 taxa as multivariate-normal hypervolumes (MVNH) of their IUCN ranges in present-day climate, and thermal breadth and critical thermal minimum (CTmin) were standardised from 2,974 measurements in AmphiTherm. For 631 assemblages on a 2.5′ grid, the mean of each trait was expressed as a standardised effect size (SES) against a curveball null model and related to a climatic frequency index, the climatic anomaly since the Last Glacial Maximum and the fraction of the cell in refugia, in spatial Bayesian models (Student-t likelihood, Hilbert-space Gaussian process) fitted with and without the mean range size of the assemblage. This deposit contains the R scripts of the whole pipeline (steps 01 to 15), the manual taxonomic and range decisions, the derived data needed to refit every model, and the reports of every analysis. 3. Originators ==to be fulfilled upon acceptance== 4. Contact information ==to be fulfilled upon acceptance== 5. Date of data collection No new field data were collected. Assemblage inventories were compiled from the literature by ATLANTIC AMPHIBIANS (Vancine et al., 2018). Range maps: IUCN Red List release 2026-1 (ANURA). Thermal tolerance: AmphiTherm (Pottier et al., 2025). Derived data were produced between 15 and 16 October 2026. 6. Geographic location(s) Brazilian Atlantic Forest (assemblages; Atlantic Forest limit of Muylaert et al., 2018). Species niche breadth was estimated over the whole range of each taxon in South America. 7. Funding ==to be fulfilled upon acceptance== ACCESS INFORMATION Licence: data under Creative Commons Attribution 4.0 International (CC-BY 4.0); code under the MIT licence. Data derived from other sources (please cite the original sources when reusing the derived files): Assemblage inventories: ATLANTIC AMPHIBIANS (Vancine et al., 2018). Species ranges: IUCN Red List of Threatened Species, release 2026-1, spatial data for Anura. The polygons cannot be redistributed and are not included; they must be downloaded from the IUCN Red List spatial data portal (https://www.iucnredlist.org/resources/spatial-data-download) and saved in data/raw/iucn/redlist_2026-1/. Present-day climate: CHELSA v2.1, bio1–bio19, 1981–2010 (Karger et al., 2017); downloaded by R/01_climate_south_america.R. Palaeoclimate: PaleoClim (Brown et al., 2018); Beyer et al. (2020); PALEO-PGEM-Series (Barreto et al., 2023; manual download from the source given in that paper). Refugia: consensus of the palaeoclimatic models of Carnaval & Moritz (2008) and Carnaval et al. (2009). Thermal tolerance: AmphiTherm (Pottier et al., 2025; CC-BY 4.0); downloaded by R/09_thermal_traits.R. Phylogeny: Portik et al. (2023), with names updated as in https://doi.org/10.5281/zenodo.20297485. Taxonomy: Amphibian Species of the World, through the R package AmphiNom (Liedtke, 2018). Standardised-effort data set: the second, independent data set used in the robustness analyses (220 sites compiled from 130 published inventories, with sampling effort and forest loss around each site) is deposited here (file 1 below). It is also the basis of a manuscript in review; ==citation to be added upon publication==. DATA FILES AND VARIABLES The folder structure mirrors the R project, so that the scripts run with paths built by here::here(). All tables are comma-separated UTF-8 CSV files. Grid cells (cell) are cell numbers of the 2.5′ (≈ 4.6 km) South American grid of data/processed/climate/sa_land_mask_2.5min.tif (WGS84); lon/lat are cell centres in decimal degrees. Taxon names (asw_name) follow Amphibian Species of the World. 1. data/raw/std_effort/species_matrix_coords_std_effort.csv (standardised-effort data set) Site × species matrix of the standardised-effort data set (one row per site; read by step 05). ID_study (source inventory), ID_site, ID_1 (site identifier used in the derived files), n_especies (number of species), effort_months(sampling duration, months), n_dias (sampling days), n_habitat_types (number of habitat types sampled), sampling_methods, latitude and longitude (decimal degrees), Forest_loss_1500, Forest_loss_2500,Forest_loss_5000 (forest loss within 1.5, 2.5 and 5 km of the site), X4_clusters (ecoregion cluster); the remaining columns are species (names as in the source, genus and epithet joined by an underscore; 1 = present, 0 = absent). 1b. data/manual/ (manual decisions, read by the scripts) taxonomy_decisions.csv: name decisions not resolved automatically. query (name in the community data), asw_name (accepted name), decision_basis (justification), exclude (TRUE = taxon removed), range_proxy (IUCN name whose polygon is used for the taxon). taxa_concept_change.csv: taxa whose IUCN range shrank by more than 80% between the 2022 file and release 2026-1 (recent splits). asw_name, n_cells_iucn_2022, n_cells_iucn_2026_1, ratio, decision_basis. scinax_tropicalia_occurrences.csv: published localities used to model the range of Scinax tropicalia, which has no IUCN map. species, locality, state, decimalLatitude, decimalLongitude, source, source_page, notes. phylogeny_placements.csv: study taxa absent from the phylogeny and where they were grafted. asw_name, place_in_genus, decision_basis. 2. data/processed/ (derived data) taxonomy_community.csv: name reconciliation of the community data. query, source, status, warnings, asw_name. taxonomy_range_map.csv: taxon to IUCN polygon(s). asw_name, range_proxy, iucn_binomial. niche_breadth_species.csv: species climatic niche breadth (step 04). binomial, n_cells (2.5′ cells in the range), included (≥ 5 cells), mvnh_logdet (MVNH breadth, log determinant of the covariance matrix of PCA axes 1–3), logvar_pc1–logvar_pc3 (log variance per axis), logdet_cor (correlation component), ses_* (SES of each component against the spatial null of randomly placed ranges), n_null_ok (accepted null placements), omi_inertia, omi_omi, omi_tol, omi_rtol (OMI analysis; omi_tol = tolerance, used in sensitivity analysis S3). niche_breadth_species_regional.csv: as above, with the null restricted to the union of the community taxa ranges (comparison only). community_records.csv: one row per site × taxon record (step 05). source (atlantic_amphibians or std_effort), site_id, lon, lat, query, asw_name, tax_status, dist_km (distance to the IUCN 2026-1 range),in_range, concept_change, niche_status (use, unnamed_population = > 10 km from the range of a recently split taxon, outside_range = > 50 km from the range of other taxa; records without ok get no trait). Variants _buf10, _buf100 (10 and 100 km thresholds, sensitivity S1), _excl (taxa with range limitations, S4) and _qual (inventories of tadpoles only or of ≤ 2 months removed, S6). assemblage_composition_std_effort.csv, assemblage_metrics_std_effort.csv, assemblage_thermal_std_effort.csv: the same files for the standardised-effort data set (no sensitivity variants). assemblage_composition_atlantic_amphibians*.csv: cell × taxon composition on the 2.5′ grid. cell, asw_name, taxon_key, usable (taxon has a trait), contributes (used in the assemblage mean). Same suffixes as above. assemblage_metrics_atlantic_amphibians*.csv: assemblage metrics of range-derived breadth (step 06). cell, lon, lat, richness, n_trait, mean_mvnh, mean_log10_range (mean log10 range size, km²),mean_ses_species, mean_omi_tol, sd_mvnh, sd_log10_range, null_mean, null_sd, n_null (curveball null, 999 matrices), ses_mvnh (main response), p_lower, ses_ses_species, ses_omi_tol, null_mean_sd_mvnh,null_sd_sd_mvnh, ses_sd_mvnh (step 15), n_sites, effort_months, n_sites_no_effort, max_dist_to_cell_km. assemblage_thermal_atlantic_amphibians*.csv: assemblage metrics of thermal traits (step 10). For each trait (breadth, ctmin, ctmax) and taxon set (_meas = measured taxa only, main analysis; _all = measured and imputed taxa): n_*, mean_*, null_mean_*, null_sd_*, ses_*; post_sd_* and ses_se_* give the imputation uncertainty propagated to the SES. cell_predictors.csv: predictors for all 81,131 grid cells (step 07). cell, lon, lat, in_af (inside the Atlantic Forest), cfi and log10_cfi (climatic frequency index; low = rare climate), lgm_anomaly (climatic anomaly from the Last Glacial Maximum to the present), refugia_frac (fraction of the cell in refugia), beyer_var_120k and pgem_var_120k (climatic variability over the last 120 kyr; robustness). stability_diagnostics_cells.csv: cell-level decomposition of the disagreement among stability metrics (step 07a): LGM anomaly and variability computed from PaleoClim, Beyer et al. (2020) and PALEO-PGEM at several resolutions, and refugia_frac. predictors/*.tif: rasters of log10_cfi, lgm_anomaly, refugia_frac, beyer_var_120k and pgem_var_120k over the Atlantic Forest (Figure 1). thermal/species_thermal_summary.csv: posterior summaries of standardised CTmax, CTmin and thermal breadth (°C) per study taxon (step 09). species, trait, mean, sd, q2.5, q97.5, n_ctmax and n_ctmin (number of measurements), imputed (TRUE = no measurement of the trait, value imputed from the phylogeny), added_to_tree (taxon grafted onto the phylogeny, see data/manual/phylogeny_placements.csv); _mask = imputation validation (step 09b). scinax_tropicalia/occurrences_used.csv: occurrences used to model the range of S. tropicalia (step 02a). 3. output/tables/ Tables of the manuscript and Supporting Information, model estimates, diagnostics (R-hat, bulk and tail ESS, divergent transitions), leave-one-out comparisons and sensitivity summaries (sensitivity_summary.csv,sensitivity_diagnostics.csv). 4. output/reports/ HTML reports of each analysis, written following the Bayesian Analysis Reporting Guidelines: 08_models_report.html, 11_thermal_report.html, 12_sensitivity_report.html, 15_niche_variance_report.html (causal DAG, priors, convergence, posterior predictive checks, prior sensitivity, spatial autocorrelation of residuals, estimates). CODE SCRIPTS AND WORKFLOW Scripts are in R/ and run in numerical order from the project root, for example Rscript R/04_niche_breadth.R. Each script reads from data/ and writes to data/processed/ or output/; there is no hidden state between scripts. Seeds are set for every stochastic step. Raw inputs that cannot be redistributed or that are downloaded by the scripts go to data/raw/ (see ACCESS INFORMATION). Fitted models (*.rds) are not included because of their size; they are recreated by the scripts. Step Script Input Output 01 01_climate_south_america.R CHELSA v2.1 (downloaded) climate stack and land mask, 2.5′ 02 02_iucn_ranges.R IUCN 2026-1 polygons one polygon per IUCN species (extant/probably extant, native/reintroduced) 02a 02a_range_scinax_tropicalia.R data/manual/scinax_tropicalia_occurrences.csv, GBIF range of S. tropicalia 03 03_taxonomy.R community names, IUCN names,data/manual/taxonomy_decisions.csv taxonomy_*.csv 04 04_niche_breadth.R 01–03 niche_breadth_species.csv (≈ 15 min) 05 05_community_records.R ATLANTIC AMPHIBIANS, standardised-effort data set, 02–03 community_records*.csv 05a 05a_review_sheet.R 05 review sheet of taxa with records outside their range 05b 05b_review_decisions.R reviewed sheet validated decisions applied by 05 (data/manual/review_decisions_outside_range.csv) 06 06_assemblage_metrics.R 04–05 assemblage_composition_*, assemblage_metrics_* 07 07_cell_predictors.R 01, PaleoClim, refugia, Beyer et al. (2020), PALEO-PGEM cell_predictors.csv, predictors/*.tif 07a 07a_stability_diagnostics.R 07 stability diagnostics (Supporting Information) 08 08_models.R 06–07 brms models of range-derived breadth; tables and checks 09 09_thermal_traits.R AmphiTherm (downloaded), phylogeny standardised and imputed thermal traits 09a 09a_validation_mvnh_thermal.R 04, 09 MVNH breadth vs. thermal breadth (measured taxa) 09b 09b_imputation_validation.R 09 accuracy of the phylogenetic imputation 10 10_assemblage_thermal.R 06, 09 assemblage_thermal_* 10a 10a_fig_causal_dag.R none conceptual causal diagram 11 11_models_thermal.R 07, 10 brms models of thermal breadth and CTmin 12 12_sensitivity.R 05–11 sensitivity analyses S1–S6 13 13_figures.R 07, 08, 11 main figures 15 15_niche_variance.R 06–07 models of within-assemblage SD of niche breadth Reports are rendered with Quarto from analysis/*.qmd (e.g. quarto render analysis/08_models_report.qmd). Steps 04, 08, 09, 11 and 12 are computationally intensive; Stan models use four chains of 2,000 iterations (1,000 warm-up) run in parallel. SOFTWARE VERSIONS R 4.6.1; CmdStan 2.39.0 through cmdstanr 0.9.0.9002; Quarto 1.8.26. Package versions are recorded in renv.lock (restore with renv::restore()). Main packages: brms 2.23.0, posterior 1.7.0, loo 2.10.1, priorsense 1.4.0, bayestestR 0.19.0, bayesplot 1.16.0, terra 1.9-50, sf 1.1-3, vegan 2.7-6, ade4 1.7-24, ks 1.15-3, AmphiNom 1.1.0, gbif.range 1.9.2, ape 5.8-1, phytools 2.5-2, tidyverse 2.0.0 (dplyr 1.2.1, ggplot2 4.0.3, purrr 1.2.2, readr 2.2.0, tidyr 1.3.2), patchwork 1.3.2, rnaturalearth 1.2.0, here 1.0.2, openxlsx2 1.30. REFERENCES Barreto, E., Holden, P. B., Edwards, N. R., & Rangel, T. F. (2023). PALEO-PGEM-Series: A spatial time series of the global climate over the last 5 million years (Plio-Pleistocene). Global Ecology and Biogeography. https://doi.org/10.1111/geb.13683 Beyer, R. M., Krapp, M., & Manica, A. (2020). High-resolution terrestrial climate, bioclimate and vegetation for the last 120,000 years. Scientific Data. https://doi.org/10.1038/s41597-020-0552-1 Brown, J. L., Hill, D. J., Dolan, A. M., Carnaval, A. C., & Haywood, A. M. (2018). PaleoClim, high spatial resolution paleoclimate surfaces for global land areas. Scientific Data. https://doi.org/10.1038/sdata.2018.254 Bürkner, P.-C. (2017). brms: An R package for Bayesian multilevel models using Stan. Journal of Statistical Software. https://doi.org/10.18637/jss.v080.i01 Carnaval, A. C., & Moritz, C. (2008). Historical climate modelling predicts patterns of current biodiversity in the Brazilian Atlantic forest. Journal of Biogeography. https://doi.org/10.1111/j.1365-2699.2007.01870.x Carnaval, A. C., Hickerson, M. J., Haddad, C. F. B., Rodrigues, M. T., & Moritz, C. (2009). Stability predicts genetic diversity in the Brazilian Atlantic Forest hotspot. Science. https://doi.org/10.1126/science.1166955 Fournier, B., Vázquez-Rivera, H., Clappe, S., Donelle, L., Braga, P. H. P., & Peres-Neto, P. R. (2019). The spatial frequency of climatic conditions affects niche composition and functional diversity of species assemblages: the case of Angiosperms. Ecology Letters. https://doi.org/10.1111/ele.13425 Karger, D. N., Conrad, O., Böhner, J., Kawohl, T., Kreft, H., Soria-Auza, R. W., Zimmermann, N. E., Linder, H. P., & Kessler, M. (2017). Climatologies at high resolution for the earth’s land surface areas. Scientific Data. https://doi.org/10.1038/sdata.2017.122 Liedtke, H. C. (2018). AmphiNom: an amphibian systematics tool. Systematics and Biodiversity. https://doi.org/10.1080/14772000.2018.1518935 Lu, M., Winner, K., & Jetz, W. (2021). A unifying framework for quantifying and comparing n-dimensional hypervolumes. Methods in Ecology and Evolution. https://doi.org/10.1111/2041-210x.13665 Muylaert, R. L., Vancine, M. H., Bernardo, R., Oshima, J. E. F., Sobral-Souza, T., Tonetti, V. R., Niebuhr, B. B., & Ribeiro, M. C. (2018). Uma nota sobre os limites territoriais da Mata Atlântica. Oecologia Australis. https://doi.org/10.4257/oeco.2018.2203.09 Portik, D. M., et al. (2023). Frog phylogeny: A time-calibrated, species-level tree based on hundreds of loci and 5,242 species. Molecular Phylogenetics and Evolution, 188. https://doi.org/10.1016/j.ympev.2023.107907 Pottier, P., et al. (2025). AmphiTherm: a comprehensive database of amphibian thermal tolerance and preference. Scientific Data. https://doi.org/10.1038/s41597-025-06286-w Vancine, M. H., et al. (2018). ATLANTIC AMPHIBIANS: a data set of amphibian communities from the Atlantic Forests of South America. Ecology. https://doi.org/10.1002/ecy.2392
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)