Dear stackoverflow community, I have generated a heatmap on a random matrix from the following R code. I am having trouble interpreting the Color Key and Histogram at the top-left of the plot.
library("gplots")
library("RColorBrewer")
m<-matrix(rexp(200, rate=.1), ncol=20)
colors <- colorRampPalette( rev(brewer.pal(11, "RdYlGn")) )(255)
heatmap.2(m, col=colors, trace="none", Rowv=FALSE)
What do the x and y axis mean in the Color Key and Histogram?
Also, I noticed that I am able to scale the data row or column wise with the scale
argument. For example:
heatmap.2(m, col=colors, scale="row", trace="none", Rowv=FALSE)
How should I interpret the row z-score?
Thank you all in advance!