Setting up a GitHub repository for your lab

15 May 2017

Tutorial Aims: 1. Set up a lab GitHub organisational account 2. Organise your lab repository 3. Develop a coding & GitHub etiquette 4. Learn to use RStudio and Github together What is version control? Version control allows you to keep track of your work and helps you to easily explore...

Coding etiquette

25 April 2017

Tutorial Aims: 1. Organising scripts into sections 2. Following a coding syntax etiquette 3. Tidying up old scripts and data frames The coding etiquette outlined in this tutorial is applicable to most analyses - here we will apply them to an analysis of vertebrate population change from a previous Coding...

Data visualisation 2

29 March 2017

Tutorial Aims: 1. Create and customise figures in ggplot2 2. Plot results from mixed effects models Following from our first tutorial on intro to data visualisation using ggplot2, we are now back for more ggplot2 practice and customisation. The ultimate aim of this tutorial is to help you to make...

Intro to data clustering

21 March 2017

Tutorial Aims: 1. Get acquainted with data clustering 2. Learn about different distance metrics 3. Learn about different linkage methods 4. Turn groups into a grouping variable 5. Map cluster groups in geographic space To get all you need for this session, go to the repository for this tutorial, fork...

Working efficiently with large datasets

20 March 2017

Tutorial Aims: 1. Formatting and tidying data using tidyr 2. Efficiently manipulating data using dplyr 3. Automating data manipulation using lapply(), loops and pipes 4. Automating data visualisation using ggplot2 and dplyr 5. Species occurrence maps based on GBIF and Flickr data Quantifying population change This workshop will provide an...

Introduction to linear mixed models

15 March 2017

This is a workshop is aimed at people new to mixed modeling and as such it doesn’t cover all the nuances of mixed models, but hopefully serves as a starting point when it comes to both the concepts and the code syntax in R. There are no equations used to...

Getting Started with Shiny

07 March 2017

Tutorial aims: 1. Downloading Shiny 2. Getting familiar with the Shiny app file structure 3. Getting familiar with the Shiny app.R layout 4. Creating a Shiny app 5. Exporting a finished app 6. Challenge yourself to write an app At it’s core, Shiny is merely an R package like dplyr...

Web Scraping

06 March 2017

Tutorial Aims: 1. Isolate and retrieve data from a html web page 2. Automate the download of multiple web pages using R 3. Understand how web scraping can speed up the harvesting of online data Steps: 1. Download the relevant packages 2. Download a .html web page 3. Import a...

From distributions to linear models

28 February 2017

Tutorial Aims: 1. Get familiar with different data distributions 2. Practice linear models 2. Practice generalised linear models As you are setting out to answer your research questions, often you might want to know what is the effect of X on Y, how does X change with Y, etc. The...

Intro to Github for version control

27 February 2017

Tutorial Aims: 1. Get familiar with version control 2. Learn to use RStudio and Github together What is version control? Version control allows you to keep track of your work and helps you to easily explore what changes you have made, be it data, coding scripts, or papers. You are...

Intro to loops and functions

08 February 2017

Tutorial Aims: 1. Learn to write functions to code more efficiently 2. Learn to write loops to make multiple graphs at once Note: all the files you need to complete this tutorial can be downloaded from this repository. Writing functions We’ve learned how to import our data in RStudio, format...

Beautiful and informative data visualisation

29 January 2017

Tutorial Aims: 1. Get familiar with the ggplot2 syntax 2. Practice making different plots with ggplot2 3. Learn to arrange graphs in a panel and to save files Note : all the files you need to complete this tutorial can be downloaded from this repository. Clone and download the repo...

Easy and efficient data manipulation

16 January 2017

Tutorial Aims: 1. Understand the format required for analyses in R, and how to achieve it 2. Use efficient tools for manipulating your data 3. Learn a new syntax for coding : pipes Note : all the files you need to complete this tutorial can be downloaded from this repository....

Coding club progress and future plans

03 January 2017

We are all thrilled to have launched Coding Club at the end of 2016 and are very excited to see it grow in 2017. Coding Club is a peer-to-peer learning community aiming to develop quantitative skills, in particular fluency in statistics and programming. We are working as a team of...

Spatial Data and Maps

11 December 2016

Tutorial Aims: 1. Learn to download map tiles using ggmap 2. Make a simple map using ggmap 3. Import, manipulate and plot shapefiles Steps: 1. Why use R to make maps? 2. Downloading the relevant packages 3. Getting your head around map data 4. Creating a map using ggmap 5....

Getting Started with R Markdown

24 November 2016

Tutorial Aims: 1. Learn what R Markdown is and why it is worth using 2. Learn how to construct an R Markdown file 3. Export an R Markdown file into many file formats Steps: 1. Download R Markdown 2. Create an R Markdown (.Rmd) file 3. Identify the different parts...

Troubleshooting and how to find help

15 November 2016

Tutorial aims: 1. Learn how to pick up on errors in R 2. Get familiar with common errors and solutions 3. Learn how to find help online 4. Practice by fixing errors in an example script In our first tutorial we learned how to import data into RStudio, conduct a...

Getting started with R and RStudio

13 November 2016

Tutorial aims: 1. Learn how to import data 2. Learn how to create vectors and data frames 3. Make a simple plot Steps: 1. Download R and RStudio 2. Import and check data 3. Calculate species richness 4. Create a vector and plot it 5. Create a data frame and...

Preparing to launch Coding Club

17 October 2016

Over the summer, we have been preparing to launch Coding Club - lots of excitement and a long to do list! We are all looking forward to Coding Club - our vision of a supportive peer-to-peer learning community becoming a reality! We have been working on grant applications, this website...