Rdocumentation
powered by
Learn R Programming
ChemoSpec (version 4.3.34)
colLeaf: Color the Leaves of a Dendrogram Based on a Spectra Object
Description
This function colors the leaves of a dendrogram object. The code was taken from the help files. An internal function, not generally called by the user.
Usage
colLeaf(n, spectra)
Arguments
n
A node in a dendrogram object.
spectra
An object of S3 class
Spectra
.
Value
Returns a node with the label color properties set.
References
https://github.com/bryanhanson/ChemoSpec