-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
99 lines (73 loc) · 4.27 KB
/
README.Rmd
File metadata and controls
99 lines (73 loc) · 4.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
title: Biodiversity Facets Practical Session
author: "Matthias Grenié & Marten Winter"
date: "`r format(Sys.time(), '%B %d %Y')`"
always_allow_html: true
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{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é