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


WubingZhang/ggView documentation built on March 11, 2024, 3:33 a.m.