Linking the metabolic rate of individuals to species ecology and life history in key Arctic copepods

This folder contains data and code for the manuscript "Linking the metabolic rate of individuals to species ecology and life history in key Arctic copepods" The first script to run is the "rolling regression and adding covariates to MR data.R", this will read in all the files wit...

Full description

Bibliographic Details
Main Authors: Konrad Karlsson, Janne Søreide
Format: Dataset
Language:English
Published: 2023
Subjects:
Online Access:https://zenodo.org/record/7636925
https://doi.org/10.5281/zenodo.7636925
Description
Summary:This folder contains data and code for the manuscript "Linking the metabolic rate of individuals to species ecology and life history in key Arctic copepods" The first script to run is the "rolling regression and adding covariates to MR data.R", this will read in all the files with oxygen measurements, dry weight, and species and life stage information. The code will fit and predict estimates for each individual, calculate O2 from calibration data, subtract background respiration, run the rolling regression, and add the covariates DW, species and life stage to the metabolic rate data, and write the resulting data fame to a .txt file. The second script "lme4 Analysis and figures 5 6 7.R" will read in the data from the first script. Here the AMR RMR and aerobic scope is estimated by Density Estimation via Model-Based Clustering. The resulting data is fitted with a mixed model 'lmer'. The remaining part of the script make the predictions that are presented in the text of the manuscript and that are shown in figure 5, 6, and 7. Further information is annotated in the scripts