Re: [R] Square matrix plot

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
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
http://tolstoy.newcastle.edu.au/R/help/05/08/9714.html

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
>
> http://bio.ifom-firc.it/User/finoc/ask.png ( 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
>
> ______________________________________________
> R-help@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
>



R-help@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 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