Displaying 1 result from an estimated 1 matches for "tp1293498p1302571".
2010 Jan 26
2
heatmap.2 color range
Hi,
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")
grad <- ifelse(randMat >