Online R learning project for advanced undergrads during the COVID-19 pandemic
author: Chenxin Li, Grad student Department of Plant Biology, UC Davis [email protected]
This repository has 12 activities:
-
Data wrangling with dplyr and tidyr
-
Formatting ggplots – faceting, scales, guides, and themes
-
Design custom palette in R
-
One-way ANOVA and the compact letter display
-
What to do when ANOVA assumption fails
-
Randomized block design ANOVA
-
Multifactorial deign ANOVA and interactions
-
Repeated measures ANOVA
-
Split field and nested experimental design
-
Correlation and linear regression
-
Polynomial curve fitting
-
Logistic regression
-
Proportions, contingency tables and enrichment
This first three units focus on how to tidy data and pretty plots.
Units 4 - 9 focus on ANOVA and Tukey tests.
Units 10 - 12 focus on regression.
Formal math is kept to minimum. The series focus on basic concepts, interpretation and execution in R. Each unit builds upon the previous. After each unit, there is also an exercise.
- Clone the repository to your machine by downloading the zip file
- Unzip (and move the “Online_R_learning” directory to whichever you like on your machine).
- Open RStudio and create a new project, setting “Online_R_learning” as the working directory.
- Run .Rmd files under the /R_codes folder.