Chapter 14 Saving superheatmaps

The best format for saving superheat images is as a .png file. To do this in R, the easiest way is to use the png() function (remember to call dev.off() when you’re done!)

png("superheat.png", height = 900, width = 800)
superheat(X = mtcars, scale = T)
dev.off()