These exercises cover the sections on Plotting in R PlottingInR.
Please load the dateset SubsetRlog_7D.csv from "data/SubsetRlog_7D.csv"
read.csv()
function to load SubsetRlog_7D.csv. If you failed to import SubsetRlog_7D.csv to R, please check whether you set up your work directory properly by using getwd()
and setwd()
scale()
function to perform the z-score transform on each genes?scale
to see how to use this function properly and you might need t()
to perform this analysis properly?scale
?t
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)]