Tuesday, April 12, 2011

heatmap.plus - for plotting multiple RowSideColors and ColSideColors

http://cran.r-project.org/web/packages/heatmap.plus/index.html

It seems that it can't plot more Col/RowSideColors if there's only one row/column, work around is to duplicate

ColSideColors <- t(as.matrix(rbind(col.a, col.a)))

No comments: