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 ______________________________________________ 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.