search for: sidecols

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

Did you mean: sidecars
2012 Feb 28
1
Unexpected behaviour for RowSideColors in function heatmap
...ike 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=sideCols, RowSideColors=sideCols) Reversing the RowSideColors argument does not solve the problem: heatmap(cU, symm = TRUE, distfun = function(c) as.dist(1 - c), ColSideColors=sideCo...