Re: [R] Square matrix plot

From: Adaikalavan Ramasamy <>
Date: Tue 09 Aug 2005 - 04:55:37 EST

The URL that you sent is not working. Can you please check ?

If you mean 2 dimensional hierarchical clustering as often used in microarrays, then see help("heatmap"). There was a discussion last week about using red-green for heatmap. See

Or if you want to want to plot one column against another, then see help("pairs").

Regards, Adai

On Mon, 2005-08-08 at 19:42 +0200, Finocchiaro Giacomo wrote:
> Hi,
> having a matrix where rows=n and cols=m, I calculated the spearman
> correlation values of the matrix, this generated a square matrix m x m.
> Dose anyone knows how can I create a plot similar to this
> ( produced with hierarchical
> cluster explorer)
> using R? I would like to have a range of colors from green(-1) to
> red(+1) proportional to the correlation value calculated. Thanks a lot.
> Regards
> Giacomo Finocchiaro
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Tue Aug 09 05:00:06 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:09:59 EST