I would like to be able to have use two RowSideColor bars with the heatmap.2 function from the R package plots, but I can't figure out how to do it. I've seen this question asked before on stack overflow, and while the question was responded to, the responses didn't address the question. Adding the factors to the input data matrix won't work because it would affect the results of the hierarchical clustering. I am open to using other heatmap-like functions to achieve my goals if that's necessary.
Thanks, Brad