[R] Half of a heatmap

From: Rosenfeld, Jeffrey <rosenfel_at_cshl.edu>
Date: Sun, 24 Jun 2007 00:14:10 -0400


I am trying to produce a heatmap of pairwise correlations, but since the matrix is symmetric, I only need either the upper or the lower triangle. I have scoured the web and R documentation, but I have not been able to find a way to produce such a figure. Is there a simple way to produce a heat map with only the part above or below the diagonal?

Thank You,

Jeffrey Rosenfeld
Cold Spring Harbor Laboratory



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 24 Jun 2007 - 23:32:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Jun 2007 - 12:32:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.