colour.bar: Add colour bar scale to heatplot

Description Usage Arguments

View source: R/aiding_functions.R

Description

Function to generate a scale for heatplots

Usage

1
2
3
colour.bar(col.data, min, max = -min, cex.ticks = 1.2, nticks = 11,
  ticks = seq(min, max, len = nticks), title = "", ylab = "",
  cex.lab = 1)

Arguments

col.data

vector of colours

min

minimum colour

max

maximum colour

cex.ticks

size of ticks on colour bar

nticks

number of ticks on colour bar

ticks

vector of positions of ticks on colour bar

title

optional title for colour bar

ylab

optional y-axis label for colour bar

cex.lab

size of labels on colour bar


mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.