[R] Square matrix plot

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Mon Aug 8 20:55:37 CEST 2005


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 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
>




More information about the R-help mailing list