Unit 10
Introduction
Welcome to Week 10 of BIO144!
Learning objectives for the week
These learning objectives, together with the content of the course book chapter, define what you need to know for the exam.
After this unit, students will be able to:
- Recognise when a biological question involves many response variables, and explain the limitations of analysing each one separately.
- Reshape multivariate data between wide and long format, and explain which format is needed for which task.
- Explain the aim of ordination: to summarise similarity among observations measured on many variables using a few axes.
- Explain why variables are centred, and usually scaled, before a PCA.
- Use R to perform a principal component analysis (PCA) and obtain the proportion of variation explained by each axis.
- Interpret PCA loadings and biplots to identify which variables contribute most to each axis.
- Choose a distance measure for NMDS appropriate to the data (e.g. Euclidean distance on scaled numeric variables).
- Use R to perform a non-metric multidimensional scaling (NMDS) and obtain its stress value.
- Interpret ordination plots in terms of similarities and differences among observations.
- Distinguish PCA from NMDS, and choose between them for a given dataset.
- Evaluate what an ordination does and does not show (e.g. it summarises patterns but does not by itself test hypotheses; tests need separate methods).
- Choose an appropriate approach to test whether groups differ in multivariate composition (MANOVA, PERMANOVA) and in multivariate spread (PERMDISP), and to relate an explanatory variable to an ordination (envfit, ordisurf).
- Use principal components as explanatory variables in a regression, as one way to deal with collinearity.
Book chapter
This week we will be covering Chapter 10: Ordination and multivariate data of the course book.
Video and code walkthrough
Each chapter of the course book has a code walkthrough: an R script with the code of the chapter, with comments explaining each step, and a video in which Owen works through the script. Use them to learn the R code you need this week. Work through them before the practical, ideally running the script line by line while you watch the video. The last section of the script (“Practical toolbox”) shows code that the practical uses but the chapter does not.
Script: walkthrough_ch10_ordination.R
To download the script straight into your RStudio project folder (for example on RStudio Server), run this line in the Console:
download.file("https://opetchey.github.io/BIO144_Course_Book/walkthroughs/walkthrough_ch10_ordination.R", destfile = "walkthrough_ch10_ordination.R")
Video: coming soon.
Lecture
Please attend the lecture. If for any reason you can’t, please watch the podcast, which is available on OLAT.
Optional: some ideas for how you could prepare for the lecture (no preparation is also fine) are in Preparing for lectures.
Homework, Practical, and Weekly Quiz
Available here. You will need to be on a UZH network to access this link, so if you are not on campus, you will need to connect to the UZH VPN first.