[R] heatmap.2 color range
Dieter Menne
dieter.menne at menne-biomed.de
Tue Jan 26 19:35:41 CET 2010
evgeny55 wrote:
>
> I'm trying to create a heatmap with color ranges for different values in
> my matrix. For example:
> If x > 5 , use orange gradient
> if x < 1.5, use red gradient
> .....
>
> Right now I have the following:
> orgPal<-brewer.pal(3,"Oranges")
> bluPal<-brewer.pal(3,"Blues")
> redPal<-brewer.pal(3,"Reds")
>
>
I often use larger palettes (brewer.pal(7,...)) and remove the middle range.
Dieter
--
View this message in context: http://n4.nabble.com/heatmap-2-color-range-tp1293498p1305413.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list