[R] two questions associated with heatmap

From: Weiwei Shi <helprhelp_at_gmail.com>
Date: Fri 22 Sep 2006 - 23:27:46 GMT


hi, there:
i have 2 questions associated with heatmap

in heatmap.2{gplot}, there is a bar called "raw z-score" showing the coloring legend for each pixel. Where can I find that z-score's formulae?

question 2,
for example, I have 5 groups and I want to label each group with a color name from "#FF0000" to "#0000FF" evenly. so basically i need a vector like this:
c("#FF0000", ?, ?, ?, "#0000FF")

the number of groups can be 10 or whatever.

thanks.

-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.


"Did you always know?"
"No, I did not. But I believed..."
---Matrix III ______________________________________________ R-help@stat.math.ethz.ch 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.
Received on Sat Sep 23 09:31:16 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 23 Sep 2006 - 03:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.