Skip to main content

CM4.2 Exploring genomic data in R

Authors: Wojciech Lason, Helen Lockstone, Gavin Band

Welcome! In this tutorial you will use R to do some more advanced analysis of genomic data.

We will look at the human reference genome and gene annotations for chromosome 19 to extract key information and make some plots.

To get started, create a new directory on your filesystem for today's session e.g. you could name it 'CM4.2_genes_in_R' or 'CM4.2_tutorial'. Open a new RStudio session and from the 'Session' tab in the menu bar, choose 'Select working directory'. Here you have the option to navigate to the location of the directory that you just created. When you click OK after this, R will run a command that sets this as the working directory - this means R will look for any files we want to load in this directory and also save any files to the same location.

Now go to the warm-up.