Hi,
I'm kinda new of the R world.
I need to use the heatmap or heatmap.2 function to plot correlation values.

2 questions:
- how can I specify a color palette? (would like to have a transition from
blue(-1) to white(0) to red(1))
- how can I use heatmap.2 imposing a specific order (like hclust.order)?
  I mean, I don't want heatmap.2 to re-cluster/re-order my data but just to
plot them according to a specified (by me) order (I tried Rowv = hc$order
where hc is an hclust object, but without success)
can you help me?

Thanks a lot!

J


-- 
View this message in context: 
http://n4.nabble.com/color-palette-heatmap-tp1476296p1476296.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to