Re: [R] comparing heatmaps

2011-03-29 Thread Alex Gutteridge
On Mon, 28 Mar 2011 19:58:40 -0700, Peter Langfelder wrote: On Mon, Mar 28, 2011 at 6:36 PM, Benton, Paul wrote: Benno, That helps but it only makes the color bar symmetrical. I want to be able to compare 2 different heatmaps so that 0.7 (for example) is always the same tone of green and not

Re: [R] comparing heatmaps

2011-03-28 Thread Peter Langfelder
On Mon, Mar 28, 2011 at 6:36 PM, Benton, Paul wrote: > Benno, > > That helps but it only makes the color bar symmetrical. I want to be able to > compare 2 different heatmaps so that 0.7 (for example) is always the same > tone of green and not shifted slightly. Is this possible? > > Paul >From w

Re: [R] comparing heatmaps

2011-03-28 Thread Benton, Paul
Benno, That helps but it only makes the color bar symmetrical. I want to be able to compare 2 different heatmaps so that 0.7 (for example) is always the same tone of green and not shifted slightly. Is this possible? Paul On 28 Mar 2011, at 10:42, Benno Pütz wrote: > > On 27.Mrz.2011, at 22:5

[R] comparing heatmaps

2011-03-27 Thread Benton, Paul
Dear all, I've been trying to find how to compare tow different heatmaps but I'm having trouble getting the colors bar to be the same. I'm doing something like the following: library(gplots) dat<-cor(matrix(rnorm(100, m=10), nrow=10)) mat<-cor(matrix(rnorm(100), nrow=10)) dev.new() heatmap.2(ma