default_color: Predifined color palettes from RColorBrewer + Rainbow

Description Usage Arguments Value Examples

Description

Predifined color palettes from RColorBrewer + Rainbow

Usage

1

Arguments

col

Character, RColorBrewer colorscheme or "Rainbow"

This function provides a convenient function to all color palettes from RColorBrewer, and a better version of R's rainbow function (specifically rev(rainbow(9, start=0, end=4/6)), so it starts blue and ends with red).

Value

character, a length-9 color palette

Examples

1
2
default_color("Blues")
default_color("Rainbow")

mgperry/heatmaps documentation built on May 22, 2019, 8:53 p.m.