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)Numeric vector, values shown in the axis.
Character vector as long as at, defining the values to show at at.
Single logical value, whether to plot an horizontal or a vertical scale.
Single logical value, whether to legend median and mad or mean and sd. Should correspond to heat.map norm.robust value.
Single logical value, whether to skip the call to par to set mar or not.
Single character value, the axis title to use (NA for automatic generation).