Find us on GitHub

Intro to R - Genomics

Apr 13 - Apr 16, 2020

Monday - Thursday:09:00 am -12:00 pm

Instructors: TBD

Helpers: Reid Otsuji, Stephanie Labou

General Information

This is the website for the Introduction to R for Genomics workshop series. This workshop will introduce you the R programming language and how to use R and RStudio to work with genomics data.

Who: The course is aimed at facutly, graduate students, Post-Docs who work with genomics data. You don't need to have any previous knowledge of programming or the tools presented in the course to attend. A laptop is required for the workshop.

Where: Biomedical Library Building, 9500 Gilman Drive, #0699, La Jolla, CA. Get directions with OpenStreetMap or Google Maps.

Requirements: Participants must bring a laptop with a few specific software packages installed (listed below).

Contact: Please mail jreiswig@ucsd.edu for more information.

Need help?:

Lecture notes & command histories:
  • Notes: Intro to R & RStudio , Commands:R Script

Credits: The course materials are adpated from the Software Carpentry lessons. Many thanks to the authors of those lessons.


Schedule

Date Class Topics
Apr. 13 Day 1 Intro to R & RStudio
     
Apr. 14 Day 2 Plotting with GGPLOT2
     
Apr. 15 Day 3 Data Wrangling with dplyr & tidyr
     
Apr. 16 Day 4 Working with Data

HackMD: https://hackmd.io/@U2NG/BJcE1UeSU.
We will use this HackMD for taking notes, and sharing URLs and bits of code.


Syllabus

Programming in R

  • Working with vectors and data frames
  • Reading and plotting data
  • Creating and using functions
  • Loops and conditionals
  • Using R from the command line
  • Reference...

Setup

To participate in this workshop, you will need access to the software described below.

R

R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.

Windows

Video Tutorial

Install R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE. Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on .exe file and select "Run as administrator" instead of double-clicking). Otherwise problems may occur later, for example when installing R packages.

Mac OS X

Video Tutorial

Install R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.

Linux

You can download the binary files for your distribution from CRAN. Or you can use your package manager (e.g. for Debian/Ubuntu run sudo apt-get install r-base and for Fedora run sudo yum install R). Also, please install the RStudio IDE.