heat.scale {LPS} | R Documentation |
This function plots a color scale using a custom color palette, to legend heat.map
derivated functions.
heat.scale(zlim, col.heatmap, at = -10:10, labels = NULL, horiz = TRUE,
robust = FALSE, customMar = FALSE, title=NA)
zlim |
Numeric vector of length 2, minimum and maximum of values in the palette. Should correspond to |
col.heatmap |
Character vector of colors used in the heat map. Should correspond to |
at |
Numeric vector, values shown in the axis. |
labels |
Character vector as long as |
horiz |
Single logical value, whether to plot an horizontal or a vertical scale. |
robust |
Single logical value, whether to legend |
customMar |
Single logical value, whether to skip the call to |
title |
Single character value, the axis title to use ( |
Sylvain Mareschal
heat.map
, clusterize
, predict.LPS