An open API service indexing awesome lists of open source software.

https://github.com/rekyt/biodiversity_facets_tutorial

Repository for practical session on "Biodiversity facets in macro-space" https://s.42l.fr/biodiv https://s.42l.fr/nulldata
https://github.com/rekyt/biodiversity_facets_tutorial

biodiversity biodiversity-data ecology functional-diversity functional-trait practical-sessions

Last synced: 2 months ago
JSON representation

Repository for practical session on "Biodiversity facets in macro-space" https://s.42l.fr/biodiv https://s.42l.fr/nulldata

Awesome Lists containing this project

README

          

---
title: Biodiversity Facets Practical Session
author: "Matthias Grenié & Marten Winter"
date: "`r format(Sys.time(), '%B %d %Y')`"
always_allow_html: true
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```

This the first practical session in the course "Macroecology under Global Change". This it the practical session companion to the lectures on biodiversity facets.

**Year**: 2023

**Instructors**: Matthias Grenié & Marten Winter

Contact us via Slack or email for any further questions.

## Goals

* Manipulate research open data;
* Learn how to compute functional diversity indices with `fundiversity` (load trait data, build a functional space, compute indices);
* Learn how to compute phylogenetic diversity indices with `ape` and `picante` (load phylogenetic tree, visualize phylogenetic tree, compute indices);
* Familiarize with null models;
* Know the difference between facets of functional and phylogenetic diversity indices;
* Visualize biodiversity facets on the map;
* Show the effect of logging in a tropical forest context on some biodiversity facets.

## How to use it?

1. **Online** It is accessible online at https://rekyt.github.io/biodiversity_facets_tutorial/ click on `Setup` in the navigation bar to access the tutorial.
1. **Online** if the website have issue you can access a similar version with the following command: https://htmlpreview.github.io/?https://github.com/Rekyt/biodiversity_facets_tutorial/blob/main/docs/index.html
1. **Offline** You can download the merged `diversity_facets_tutorial.Rmd` file by clicking the button below.
1. **Offline** You can also open the `diversity_facets_tutorial.R` file in RStudio to get only the code to execute exactly the codes here.

```{r download-single-rmd-file, eval = TRUE, echo = FALSE}
downloadthis::download_link(
link = "https://github.com/Rekyt/biodiversity_facets_tutorial/raw/main/diversity_facets_tutorial.Rmd",
button_label = "Download Single Rmd file",
button_type = "danger",
has_icon = TRUE,
icon = "fa fa-save",
self_contained = FALSE
)
```

```{r download-single-r-file, eval = TRUE, echo = FALSE}
downloadthis::download_link(
link = "https://github.com/Rekyt/biodiversity_facets_tutorial/raw/main/diversity_facets_tutorial.R",
button_label = "Download Single R file",
button_type = "danger",
has_icon = TRUE,
icon = "fa fa-save",
self_contained = FALSE
)
```

## Data provenance

The data we'll be using throughout the tutorial comes from the following article:

> Döbert, T.F., Webber, B.L., Sugau, J.B., Dickinson, K.J.M. and Didham, R.K. (2017), Logging increases the functional and phylogenetic dispersion of understorey plant communities in tropical lowland rain forest. J Ecol, 105: 1235-1245. https://doi.org/10.1111/1365-2745.12794

The data has been deposited on a open data repository called dryad with the following reference:

> Döbert, Timm F. et al. (2018), Data from: Logging increases the functional and phylogenetic dispersion of understorey plant communities in tropical lowland rainforest, Dryad, Dataset, https://doi.org/10.5061/dryad.f77p7

```{r download-data, echo = FALSE, eval = TRUE}
downloadthis::download_link(
link = "https://datadryad.org/stash/downloads/download_resource/5179",
button_label = "Download Original Data Files",
button_type = "danger",
has_icon = TRUE,
icon = "fa fa-save",
self_contained = FALSE
)
```

## Going Further

Other courses on biodiversity facets and potential interesting papers & tools:

* The [`FD`](https://cran.r-project.org/package=FD) package is the reference package to compute functional diversity indices.
* The [Modern concepts and methods in Macroecology and Biogeography](https://github.com/patrickweigelt/MCMMB/) course accessible with this link: http://htmlpreview.github.io/?https://github.com/patrickweigelt/MCMMB/blob/master/index.html.
* The [Legras et al. 2018 paper](https://doi.org/10.1016/j.actao.2018.02.007) on functional diversity concepts.
* The [Community Phylogenetics in R Workshop](https://pedrohbraga.github.io/CommunityPhylogenetics-Workshop/CommunityPhylogenetics-Workshop.html) by Pedro Henrique P. Braga and Katherine Hébert.

## License

[CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) Matthias Grenié