search for: sidecol

Displaying 1 result from an estimated 1 matches for "sidecol".

Did you mean: simecol
2012 Feb 28
1
Unexpected behaviour for RowSideColors in function heatmap
Hello, I have come across some unexpected behaviour of the function heatmap in the stats package. This looks like a bug to me, but I might have misunderstood something. When calling the function in symmetric mode, the ColSideColors are plotted correctly, but RowSideColors appear in reverse order. This code (modified from the example on the help page) demonstrates the problem: cU <- cor(USJudgeRatings) sideCols <- rainbow(ncol(cU)) heatmap(cU, symm = TRUE, distfun = function(c) as.dist(1 - c), ColSideColors=si...