I am performing Hierarchical Clustering in R and wish to add two additional panes into the heatmap to indicate two things: 1. The subtype relating to the sample 2. An activity value which is scaled from 0-8
I have been looking into RowSideColors and I can manage to get the display I wish but instead of highlighting the subtypes it simply colors each sub Cluster! something along the lines of this (Image a) with the legend
Have you seen How Do I Draw A Heatmap In R With Both A Color Key And Multiple Color Side Bars? post?