Learn R Programming

ChemoSpecUtils (version 1.0.5)

.colLeaf: Color the Leaves of a Dendrogram Based on a Spectra Object

Description

Internal function. This function colors the leaves of a dendrogram object. The code was taken from the help files.

Usage

.colLeaf(n, spectra)

Value

Returns a node with the label color properties set.

Arguments

n

A node in a dendrogram object.

spectra

An object of S3 class ChemoSpec::Spectra().

Author

Bryan A. Hanson (DePauw University).