Skip to main content
Support

R code / scripts

All the R code used in the labs and to make the plots in the lectures is made publicly available on a website called Github, which is popular for hosting open source software. You can navigate all the Rmd (Rmarkdown) scripts for the labs, divided into folders by course. These Rmarkdown files can be opened and code can be executed line by link using RStudio.

https://github.com/genomicsclass/labs

These Rmarkdown files are formatted into a online book  format at the following link. Please be patient as we are still updating the content for the PH525x series courses which are not yet released.

http://genomicsclass.github.io/book/

You can download the individual Rmd scripts from Github by clicking on the week, the filename, and then the 'Raw' button.  Save this file to your computer. When saving, if your web browser tries to add a `.txt` ending, just backspace so the ending is just `.Rmd`. Then open it in RStudio. We will also put links to the Rmd scripts and book pages alongside the videos.

Running lab code

All software used for the class is free and open source:

  • R can be downloaded and installed from CRAN (Comprehensive R Archive Network). If possible download the latest release (R 3.0.3 released 6 March 2014).
  • We recommend using RStudio, a slick visual interface for R.