Learn R Programming

ChemoSpec (version 3.0-1)

colLeaf: Color the Leaves of a Dendrogram

Description

This function colors the leaves of a dendrogram object. The code was taken from the help files. Not for end-user use.

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