Re: [R] Heatmap Colors

2012-09-29 Thread Achim Zeileis
On Fri, 28 Sep 2012, David Winsemius wrote: On Sep 28, 2012, at 4:52 PM, David Winsemius wrote: On Sep 28, 2012, at 3:16 PM, Nick Fankhauser wrote: Hello R-Users! I'm using a heatmap to visualize a matrix of values between -1 and 3. How can I set the colors so that white is zero, below ze

Re: [R] Heatmap Colors

2012-09-28 Thread David Winsemius
On Sep 28, 2012, at 4:52 PM, David Winsemius wrote: > > On Sep 28, 2012, at 3:16 PM, Nick Fankhauser wrote: > >> Hello R-Users! >> >> I'm using a heatmap to visualize a matrix of values between -1 and 3. >> How can I set the colors so that white is zero, below zero is blue of >> increasing in

Re: [R] Heatmap Colors

2012-09-28 Thread David Winsemius
On Sep 28, 2012, at 3:16 PM, Nick Fankhauser wrote: > Hello R-Users! > > I'm using a heatmap to visualize a matrix of values between -1 and 3. > How can I set the colors so that white is zero, below zero is blue of > increasing intensity towards -1 and above zero is red of increasing intensity

[R] Heatmap Colors

2012-09-28 Thread Nick Fankhauser
Hello R-Users! I'm using a heatmap to visualize a matrix of values between -1 and 3. How can I set the colors so that white is zero, below zero is blue of increasing intensity towards -1 and above zero is red of increasing intensity towards red? I tried like this (using the marray and gplots