Using R: Correlation heatmap with ggplot2
R-bloggers 2013-03-22
Summary:
Just a short post to celebrate that I learned today how incredibly easy it is to make a heatmap of correlations with ggplot2 (and reshape2, of course). So, what is going on in that short passage? cor makes a correlation matrix with all the pairwise correlations between variables (twice; plus a diagonal of ones). melt [...]
![](http://stats.wordpress.com/b.gif?host=martinsbioblogg.wordpress.com&blog=13039394&post=1384&subd=martinsbioblogg&ref=&feed=1)