vec2colvec: convert a character vector to a color vector by specified...

Description Usage Arguments Value

View source: R/aheatmat.R

Description

convert a character vector to a color vector by specified col.

Usage

1
vec2colvec(vec, colpal = NULL)

Arguments

vec

a vector of values. it can be numeric or categorical.

colpal

a color vector. If NA is present, it needs to to be taken into account.

Value

a color vecotor same length as vec


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.