Hi all:
As to the heatmap function, the default style is red and yellow,and red
refers to low level and yellow refers to high level.
How can I change the style to the contrary: red refers to high level and yellow
refers to low level?
Thanks a lot!
My best
[[alternative HTML version
Hi,
Take a look at the heatmap.2 function in the library gplots, and the
brewer.pal in the library RColorBrewer. With this combination you have a far
bigger flexibility on the colors and the output, plus you get a colorcoded
legend. There used to be a bug in that function distorting the legend
Hi there,
Take a look at
http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/r/heatmap/
HTH,
Jorge
On Mon, May 31, 2010 at 3:54 AM, å欣 wrote:
Hi all:
As to the heatmap function, the default style is red and yellow,and red
refers to low level and yellow refers to high
Hi :
try this: col=rev(your color)
Regards,
Sh.Z
On Mon, May 31, 2010 at 2:16 PM, Jorge Ivan Velez
jorgeivanve...@gmail.comwrote:
Hi there,
Take a look at
http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/r/heatmap/
HTH,
Jorge
On Mon, May 31, 2010 at 3:54 AM, å欣
4 matches
Mail list logo