default_color {heatmaps} | R Documentation

## Predifined color palettes from RColorBrewer + Rainbow

### Description

Predifined color palettes from RColorBrewer + Rainbow

### Usage

    default_color(col)

### 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

    default_color("Blues")
    default_color("Rainbow")

[Package heatmaps version 1.18.0 Index]