Installing necessary packages

Open RStudio and install the following packages. Say Yes if it asks you to use a personal library, say Yes to update any outdated pacakges, say No to install pacakges from source.

# Install packages from CRAN (can also use the install menu in RStudio)
install.packages("pheatmap")
install.packages("repmis")
install.packages("reshape2")
install.packages("gplots")
install.packages("RColorBrewer")
install.packages("ggplot2")

# Install bioconductor packages:
source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")

We could also install several packages in one command, but we do it separately now in case we run into problems.

Load the packages after installing with library(package_name)