Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavinsimpson/au-multivariate-stats
Aarhus university PhD Course Multivariate analysis of biological data using R
https://github.com/gavinsimpson/au-multivariate-stats
Last synced: 23 days ago
JSON representation
Aarhus university PhD Course Multivariate analysis of biological data using R
- Host: GitHub
- URL: https://github.com/gavinsimpson/au-multivariate-stats
- Owner: gavinsimpson
- License: cc-by-4.0
- Created: 2022-03-16T08:53:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T13:42:05.000Z (3 months ago)
- Last Synced: 2024-08-09T08:07:46.863Z (3 months ago)
- Language: HTML
- Homepage: https://gavinsimpson.github.io/au-multivariate-stats
- Size: 26.7 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multivariate analysis of biological data using R
### Aarhus University PhD Course
* Autumn 2024 running: August 6th – 8th
* ECTS credits: 1.5 ECTS
* Language: English
* Fee: 350 DKK
## Name of course leader
Gavin Simpson, Assistant Professor, Department of Animal and Veterinary Sciences, Aarhus University [email protected]
### Registration
To register for the course, please contact Julie Jensen on [email protected].
### Slides
* [Monday](https://gavinsimpson.github.io/au-multivariate-stats/slides/01-dissimilarity-unconstrained-ordination/slides.html)
* [Tuesday](https://gavinsimpson.github.io/au-multivariate-stats/slides/02-constrained-ordination/slides.html)
* [Wednesday](https://gavinsimpson.github.io/au-multivariate-stats/slides/03-permutation-tests/slides.html)
* [Other stuff](https://gavinsimpson.github.io/au-multivariate-stats/slides/04-other-stuff/slides.html)
### Examples
* [Permutation test questions](https://gavinsimpson.github.io/au-multivariate-stats/computing/03-permutation-tests/permutation-tests.html)
* [Permutation test answers](https://gavinsimpson.github.io/au-multivariate-stats/computing/03-permutation-tests/permutation-tests-solutions.html)
* [Randomised Complete Block example](https://gavinsimpson.github.io/au-multivariate-stats/computing/03-permutation-tests/randomised-complete-block.html)
## Objectives of the course
The aim of the course is to provide an introduction to the analysis of multivariate data arising from observational and experimental studies with the R statistical software.
## Learning outcomes and competences
After completing the course, participants will
1. have a good introductory understanding of the main approaches used in the analysis of multivariate data sets
2. be able to choose an appropriate method to use to analyse a data set
3. understand how to use restricted permutation tests with constrained ordination methods to test the effects of predictor variables or experimental treatments
4. be able to use the R statistical software to analyse multivariate data## Compulsory programme
Active participation in the course including attendance at lectures and completion of computer-based classes and exercises. A learn-by-teaching approach will be used for the computer-based assessments, where each participant will be expected to, as part of a small group, demonstrate their approach to the analysis of a problem data set from the previous day. Completion of short, computer-based assessments testing their understanding of a topic and the practical skills taught.
## Course content
The course is based on a series of lectures and computer based practical classes led by an international expert in the analysis of multivariate data, who is also one of the senior developers of the vegan R package and the creator of the permute R package.
The course covers the following topics:
* An introduction to multivariate data and their analysis
* Dissimilarity and dissimilarity coefficients
* Unconstrained ordination
- Principal Components Analysis
- Correspondence Analysis
- Principal Coordinates Analysis
- Non-metric Multidimensional Scaling
* Constrained ordination
- Redundancy Analysis
- Canonical Correspondence Analysis
- Distance-based Redundancy Analysis
- PERMANOVA and PERMDISP
* Statistical testing using permutation tests## Prerequisites
This course is suitable for Phd students (including senior thesis-based masters students) and researchers working with multivariate data sets in biology (inter alia animal science, ecology, agriculture, microbial ecology/microbiology). Some basic prior knowledge of R is required.
## Computing requirements
Participants need to bring their own laptop with the latest version of R installed (version 4.4.0 or later), as well as the current version of RStudio. If you use another editor for your R code feel free to use it instead of Rstudio, but we cannot help you if you encounter problems with it.
You can download R from [cloud.r-project.org](https://cloud.r-project.org/) and select from the three links at the top of the page as required for your operating system.
You can download RStudio from [www.rstudio.com](https://www.rstudio.com/products/rstudio/download/#download) and choose from the list of **installers** as appropriate for your operating system.
If you have already installed R and RStudio, please check that they are both up-to-date. Within R you can run:
```r
version
```and look at the entry next to `version.string`:
```
> version
_
platform aarch64-apple-darwin20
arch aarch64
os darwin20
system aarch64, darwin20
status
major 4
minor 4.0
year 2024
month 04
day 24
svn rev 86474
language R
version.string R version 4.4.0 (2024-04-24)
nickname Puppy Cup
```This should include `4.4.0` if you are running the latest release (at the time of writing), but should be no lower than `4.4.0`. If the installed version of R is < 4.4.0, install a newver version of R by downloading and running one of the installers from [cloud.r-project.org](https://cloud.r-project.org/) as mentioned above.
To check that RStudio is up-to-date, open RStudio, open the Help menu, and choose *Check for Updates*. RStudio will then check to see if there is a newer version available and if there is it will give you the option to download the newer version.
Prior to arriving at AU Viborg on the 19th of September, make sure you have updated your installed R packages and that you have installed the following packages: tidyverse, vegan, mvabund, boral, ecoCopula, and cocorresp. To do this, open RStudio (or R) and in the console window (usually lower left, with a prompt that looks like `>`) run
```r
nc <- parallel::detectCores(logical = FALSE)
```This checks to see how many CPU cores you have available, which we use in the next chunk.
```r
update.packages(ask = FALSE, checkBuilt = TRUE, Ncpus = nc - 1)
```Change the value of `Ncpus` to the number cores you have on your computer as this will speed up package updates if you have many packages installed that require updating. If you want to work while this is being done, set `Ncpus` to a number less than that returned by `parallel::detectCores(logical = FALSE)`.
Now we can install the required packages
```r
install.packages(c("tidyverse", "vegan"))
```