oceanhackweek / tutorials_marine_sdm

Tutorial for marine SDMs
http://oceanhackweek.org/tutorials_marine_sdm/
Apache License 2.0
1 stars 5 forks source link

Marine Species Distribution Model (SDM) Tutorial

Overview

This tutorial was developed during OceanHackWeek2023 to provide a simple workflow to developing a marine Species Distribution Model (SDM) using R programming. To see the OHW23 project at the end of OHW23, go to the ohw23_proj branch or see the ohw23_proj release.

Background

Species Distribution Modelling (SDM) also known as niche/environmental/ecological modelling uses an algorithm to predict the distribution of a species across space and time using environmental data. An understanding of the relationship between the species of interest and the physical environment they occupy will inform the selection of relevant environmental factors that will be included in the model.

Biotic information is also needed by SDMs and at the very least locations of individuals are needed. Abundance or densities can also be used as inputs, but are not compulsory. It is worth noting that absences, that is, the locations where individuals of a species are NOT present is just as important because it provides information about the environmental conditions where individuals are not usually sighted. Often absences are not recorded in biological data, but we can use background points (also known as pseudo-absences), which provide information about the full range of environmental conditions available for the species interest in our study area.

For a review of the performance of different SDM algorithms, see the following publications:

For a discussion on the impact of background data on SDMs see: Phillips et al (2009). Sample selection bias and presence-only distribution models: implications for background and pseudo-absence data. DOI: 10.1890/07-2153.1. For a background sample generation refer to work by Valavi.

Datasets used in the tutorial

Biological Data

Our area of interest is the Indian Ocean, where four species of sea turtles have been reported to occupy this area:

For this tutorial, we will focus on predicting the areas occupied by loggerhead sea turtles. To do this, we will use presence-only data from 2000 until present, which have been sourced from the Ocean Biodiversity Information System (OBIS) via the robis package.

Environmental Data

This tutorial focuses on regions in the northern Indian Sea, specifically the western Arabian Sea, Persian Gulf, Gulf of Oman, Gulf of Aden and Red Sea. Environmental predictor variables were sourced via the sdmpredictors R package. The package give access to the https://bio-oracle.org/ and http://marspec.org/ high-resolution layers of various marine variables. Note these variables are location specific but not time specific: they are average values over time periods.

Workflow/Roadmap

This tutorial is based on the notes by Ben Tupper (Bigelow Lab, Maine), and highlights modeling presence-only data via maxnet R package.

Tutorial roadmap

  1. Presence Data -- obtain Loggerhead sea turtle (C. caretta) presence data from OBIS via robis
  2. Background Points -- shows two methods to create random background points within our area of interest
  3. Environmental Data -- obtain environmental predictors of interest using SDMpredictors
  4. Model -- run species distribution model and predict using maxnet
  5. Data Visualizations

References

Tutorial developers


Who is this tutorial intended for?

Some experience programming in R is needed to make the most of this tutorial. To run this tutorial make sure you clone this repository into your local machine by creating a new project that uses version control (git).

The tutorial content was developed in a R version 4.2.2 for Linux.

Additional resources

If you need additional support with R programming, you can check the following resources: