two questions associated with heatmap
1
0
Entering edit mode
Weiwei Shi ★ 1.2k
@weiwei-shi-1407
Last seen 9.7 years ago
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
• 967 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 4 months ago
United States
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
ADD COMMENT
0
Entering edit mode
Sean Davis wrote: > 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. > It's a bit late--what I meant to say is that the z-score is the ("actual value" minus the mean of the group) divided by the standard deviation. Sean
ADD REPLY
0
Entering edit mode
oh, i mean how it defines the group? i just want to confirm if it is based on the whole matrix? On 9/23/06, Sean Davis <sdavis2 at="" mail.nih.gov=""> wrote: > Sean Davis wrote: > > 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. > > > It's a bit late--what I meant to say is that the z-score is the ("actual > value" minus the mean of the group) divided by the standard deviation. > > Sean > -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc. "Did you always know?" "No, I did not. But I believed..." ---Matrix III
ADD REPLY
0
Entering edit mode
Weiwei Shi wrote: > oh, i mean how it defines the group? i just want to confirm if it is > based on the whole matrix? The process is typically done within each probe, not across the entire matrix, but it depends a bit on the parameters given, at least for heatmap and heatmap.2. Reading the help pages for heatmap and heatmap.2 will be helpful here. I generally recommend that before someone uses a new function in R or bioconductor, that he read the help page, although I have been guilty of not doing that myself at points. Sean
ADD REPLY

Login before adding your answer.

Traffic: 514 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6