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
Weiwei Shi wrote:> 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? >A Z-score is the mean of the group divided by the standard deviation.> 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") >You could look at RColorBrewer or geneplotter for some ideas on how to do this. If you don't have a copy of the Bioconductor book, it may be a good idea to pick one up. It is quite helpful for getting started using bioconductor and gene expression data. Hope this helps. Sean