[R] Square matrix plot

From: Finocchiaro Giacomo <giacomo.finocchiaro_at_ifom-ieo-campus.it>
Date: Tue 09 Aug 2005 - 03:42:21 EST

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 Received on Tue Aug 09 03:48:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:45 EST