heat.scale {LPS} | R Documentation |
Plots a heat map color scale, for legend
Description
This function plots a color scale using a custom color palette, to legend heat.map
derivated functions.
Usage
heat.scale(zlim, col.heatmap, at = -10:10, labels = NULL, horiz = TRUE,
robust = FALSE, customMar = FALSE, title=NA)
Arguments
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 ( |
Author(s)
Sylvain Mareschal
See Also
heat.map
, clusterize
, predict.LPS