Learn R Programming

LPS (version 1.0.4)

heat.scale: 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, horiz = TRUE, robust = FALSE)

Arguments

zlim
Numeric vector of length 2, minimum and maximum of values in the palette. Should correspond to zlim in heat.map, consider to use heat.map invi
col.heatmap
Character vector of colors used in the heat map. Should correspond to col.heatmap in heat.map, consider to use heat.map invisible return to ge
at
Numeric vector, values shown in the axis.
horiz
Single logical value, whether to plot an horizontal or a vertical scale.
robust
Single logical value, whether to legend median and mad or mean and sd. Should correspond to heat.map norm.robust value.

See Also

heat.map, clusterize, predict.LPS