getCols {MAGeCKFlute}R Documentation

Map values to colors

Description

Map values to colors

Usage

getCols(x, palette = 1)

Arguments

x

A numeric vector.

palette

diverge, rainbow, sequential

Value

A vector of colors corresponding to input vector.

Author(s)

Wubing Zhang

Examples

getCols(1:4)

[Package MAGeCKFlute version 1.12.0 Index]