heat.scale: Plots a heat map color scale, for legend

Description Usage Arguments Author(s) See Also

View source: R/heat.scale.r

Description

This function plots a color scale using a custom color palette, to legend heat.map derivated functions.

Usage

1
2
  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 zlim in heat.map, consider to use heat.map invisible return to get special values.

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 get special values.

at

Numeric vector, values shown in the axis.

labels

Character vector as long as at, defining the values to show at at.

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.

customMar

Single logical value, whether to skip the call to par to set mar or not.

title

Single character value, the axis title to use (NA for automatic generation).

Author(s)

Sylvain Mareschal

See Also

heat.map, clusterize, predict.LPS


LPS documentation built on May 29, 2021, 5:07 p.m.