Data from: Water availability and temperature as modifiers of evaporative water loss in tropical frogs
Data files
Jun 28, 2024 version files 1.13 GB
-
amph_shl_new_Consensus_7238.tre
-
analysis_github.R
-
Fig_1.R
-
fit.RDS.zip
-
model_github.stan
-
plot_data.R
-
plots_github.R
-
raw_dehydration_METADATA.txt
-
raw_dehydration.csv.zip
-
README.md
-
res.RData
-
trees.zip
-
write_up_12_github.qmd
Abstract
Water plays a notable role in the ecology of most terrestrial organisms due to the risks associated with water loss. Specifically, water loss in terrestrial animals happens through evaporation across respiratory tissues or epidermis. Amphibians are ideal systems for studying how abiotic factors impact water loss since their bodies often respond quickly to environmental changes. While the effect of temperature on water loss is well known across many taxa, we are still learning how temperature in combination with humidity or water availability affects water loss. Here, we tested how standing water sources (availability) and temperature (26 and 36°C) together affect water loss in anuran amphibians using a Bayesian framework. We also present a conceptual model for considering how water availability and temperature may interact, resulting in body mass changes. After accounting for phylogenetic and time autocorrelation, we determined how different variables (water loss and uptake rates, temperature, and body size) affect body mass in three species of tropical frogs (Rhinella marina, Phyllobates terribilis, and Xenopus tropicalis). We found that all variables impacted body mass changes with greater similarities between P. terribilis and X. tropicalis, but only temperature showed a notable effect in P. terribilis. Furthermore, we describe how the behavior of P. terribilis might affect its water budget. This study shows how organisms might manage water budgets across different environments and is important for developing our models of evaporative water loss and species distributions.
README: Data and code for Water availability and temperature as modifiers of evaporative water loss in tropical frogs
This repository contains 12 files total. The dataset contains 3 raw data and metadata files (amph_shl_new_Consensus_7238.tre, trees.zip, and raw_dehydration.csv.zip, raw_dehydration_METADATA.txt), 2 analysis files (analysis_github.R, model_github.stan), and 6 files for plotting data and results (fit.RDS.zip, res.RData, write_up12github.qmd, plots_github.R, Fig_1.R, plot_data.R).
Description of the data and file structure
The tree files (.tre and .nex within trees.zip) were obtained from https://vertlife.org/phylosubsets/. raw_dehydration.csv.zip contains newly generated data. The two analysis files output the model results and associated diagnostics, summaries, and plots (two exceptions to this are found at the end of this section). fit.RDS.zip contains the posterior distributions resulting from the Bayesian analysis, res.RData is a summary of fit.RDS.zip. write_up12github.qmd is a summary of the model fit. plots_github.R contains relevant diagnostic and effects plots.
plot_data.R takes raw_dehydration.csv.zip as input to plot the raw data.
Fig_1.R is a standalone conceptual figure with no inputs.
Sharing/Access information
Data was derived from the following sources:
Code/Software
All analyses use R. The .stan file is called within analysis_github.R. Versions of all packages are described in the associated manuscript.
Methods
The dataset was collected at Stanford University as described in doi.org/10.1093/icb/icae057. The dataset contains body mass data corresponding to frogs exposed to various treatments, along with associated metadata. The dataset was processed by imputing some missing values, fitting a longitudinal phylogenetic linear mixed model in a Bayesian framework, and plotting the raw data, results, and diagnostics.