These exercises cover the sections on Plotting in R PlottingInR.

Section 1

Please load the dateset SubsetRlog_7D.csv from "data/SubsetRlog_7D.csv"

  1. use scale() function to perform the z-score transform on each genes
?scale
?t
  1. use Heatmap() function from R bioconductor packages ComplexHeatmap and RColorBrewer to create the heatmap below:

note: TimePoint colour codes are from brewer.pal(10, "Paired")[c(9:10)] and Treatment colour codes are from brewer.pal(6, "Dark2")[c(1,2)]