getCols: Map values to colors

View source: R/hclustView.R

getColsR 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)

WubingZhang/MAGeCKFlute documentation built on Jan. 27, 2024, 2:43 p.m.