Skip to content

Data, code & figures used to assess global patterns of potential thermal niche filling

License

Notifications You must be signed in to change notification settings

nicole-a-moore/living-up-to-thermal-potentials

Repository files navigation

living-up-to-thermal-potentials

Introduction

This repository contains the data and code used to produce results presented in Moore et al. 2023: Temperate species underfill their tropical thermal potentials on land. This study tests hypotheses about how the role of temperature in limiting species ranges might be overriden by antagonistic species interactions and other range-limiting factors. The study was designed to be reproducible, and running all scripts in order should successfully reproduce analyses and figures.

Pretty picture

Data

A minimum dataset needed to reproduce all main analyses and large files that cannot be hosted on Github can be downloaded from the paper's Figshare repository, which is linked in the article Data Availability statement. For scripts to successfully run, the large files should be donwloaded into a folder titled 'large-files' in the repository's working directory.

Additional temperature, elevation, and depth data files used in analyses can be downloaded here:

Realized range polygons needed to run analysis can be downloaded here:

  • IUCN Spaial Files - AMPHIBIANS, BLENNIES, CLUPEIFORMES, FILTERED, FW_FISH, MAMMALS, MARINEFISH, PUFFERFISH, REPTILES, SEABREAMS_PORGIES_PICARELS, SHARKS_RAYS_CHIMAERAS, WRASSES_PARROTFISHES
  • GARD Version 1.1

Code

The following are all of the R scripts contained in this repository and a short description of what each accomplishes:

  • prepares global air and sea surface temperature, depth, and elevation data for use in analyses
  • extracts and organizes realized range polygons
  • collates and cleans trait data for species incldued in the analysis
  • collates and cleans pre-existing acclimation response ratio databases for use in the acclimatisation analysis
  • models operative temperatures in different microhabitat for terrestrial species
  • creates potential thermal ranges
  • measures potential thermal niche filling in thermal space
  • measures potential thermal range filling in geographic space
  • fits models to warm and cool niche filling and plots predictions
  • fits models to range filling and asymmetry in underfilling and plots predictions
  • checks sensitivity of warm and cool niche filling results to behaviour and acclimatisation
  • checks sensitivity of range filling and asymmetry in underfilling results to acclimatisation
  • checks sensitivity of warma and cool niche filling results to exclusion of dormant species
  • checks sensitivity of range filling and asymmetry in underfilling results to exclusion of dormant species
  • checks sensitivity of warm and cool niche filling results to realized range source
  • creates warm and cool niche filling figures
  • creates range filling figures
  • tests sensitivity of results on land to parameters used in operative temperature models
  • tests sensitivity of results to choice of method used to control for evolutionary relatedness
  • creates a minimum dataset needed to reproduce main analyses

Ownership

This reposity is owned by Nikki A. Moore and Jennifer M. Sunday. All data, scripts, and figures may be used by others with proper acknowledgement.