clusterColors: get color vector for clustered features

View source: R/clusterTools.R

clusterColorsR Documentation

get color vector for clustered features

Description

Retrieves a color vector for clustered features from segmenTier's clustering object. Default is to return colors for the pre-selected clustering via option K to function selected. Not to mix up with segmenTier's function colorClusters which assigns a cluster coloring scheme.

Usage

clusterColors(cset, expand = TRUE, ...)

Arguments

cset

a structure of class 'clustering' as returned by segmenTier's clusterTimeseries

expand

logical indicating whether colors should be expanded to all data

...

arguments to cluster selection with function selected, e.g., cluster number K


raim/segmenTools documentation built on May 5, 2024, 11:30 a.m.