View on GitHub

fels_bioinformatics_meetup

Class materials for Fels bioinformatics meetup

Getting Started

Download R

Click on the link to go to R’s homepage. https://www.r-project.org/

R project home

To download R:

  1. Click the download R link under Getting Started.
  2. Select your CRAN mirror. Click one of the links at the top under 0-Cloud.
  3. Click on the link that says “Download R for [Your Operating System]”
  4. What to Pick
    • For Mac, select the latest release
    • For Windows, select base
    • For Linux, select your distribution and follow the instructions in the README.html file.
  5. R should be downloaded to your computer and you should follow the normal steps to install

Download RStudio

Click on the link to go to R’s homepage. https://www.rstudio.com/

RStudio homepage

To download RStudio:

  1. Click the Download link underneath the RStudio cartoon.
  2. Click the DOWNLOAD button for the FREE RStudio Desktop.
  3. Select your operating system from the list.
  4. The file should download to your computer and then you can install it like any other program.

Install Packages

To install the main packages that will be required for meetups, open RStudio and copy and paste the code below into the Console.

install.packages(c('tidyverse', 'viridis', 'conflicted'))

If that doesn’t work, copy and paste this code.

packages <- c('dplyr', 'forcats', 'ggplot2', 'purrr', 'readr', 'stringr', 'tibble', 'tidyr', 'viridis', 'conflicted')
install.packages(packages)

Install TeX

TeX is a computer language/program for typesetting, particulary for math and other technical typesetting. RStudio needs it installed on your computer in order to create PDFs from your R markdown documents. To install, follow the instructions for your operating system below.

Mac:

  1. To install MacTeX, go here http://www.tug.org/mactex/
  2. Click on MacTeX Download
  3. Click on MacTeX.pkg
  4. Install like any other program

Note: If you have RStudio open, you’ll need to restart before you can knit a PDF.

Windows:

  1. To install MiKTeX, go here https://miktex.org/download
  2. Click Download
  3. Execute the .exe files like normal
  4. During installation select the options below. Otherwise install as you normally do.
    • Install MiKTeX for anyone who uses the computer.
    • Install missing packages on-the-fly: Yes

Note: If you have RStudio open, you’ll need to restart before you can knit a PDF.

Linux:

In terminal sudo apt-get install texlive-full

Note: If you have RStudio open, you’ll need to restart before you can knit a PDF.

Resources

Reference material used while creating material for meetups:

  1. R for Data Science by Hadley Wickham
  2. Advanced R by Hadley Wickham
  3. Temple’s BIO5312, Biostatistics Fall 2017 by Stephanie Spielman

Content

Week 1 (Sep 7)

Introduction to the class and Rmarkdown

Materials

References


Week 2 (Sep 14)

Subsetting and filtering

Materials


Week 3 (Sep 21)

Plotting with ggplot

Materials

References


No meetup the week of Sep 28 because of thesis defense


Week 4 (Oct 5)

Data manipulation with dplyr

Materials

References


Week 5 (Oct 12)

Data Wrangling with tidyr

Materials

References


Week 6 (Oct 19)

Basic Statistics in R

Materials


Week 7 (Oct 26)

Import/Export Data and Review

Materials

References


Week 8 (Nov 2)

Linear Modeling and tidying models with broom

Materials

References


Week 9 (Nov 9)

Clustering

Materials


Week 10 (Nov 16 Nov 30)

Plotting grab bag

Materials

References


Week 11 (Dec 7)

Hierarchical Clustering

Materials

References


Week 12 (Dec 14)

Heatmaps

Materials

References


NO meetups Dec 21, Dec 28, or Jan 4. Happy break!


2019.01.09 Meetups indefinitely suspended





Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.