Learn R Programming

ChemoSpecUtils (version 1.0.5)

.shrinkLeaf: Shrink the Leaves of a Dendrogram Based on a Spectra Object

Description

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

Usage

.shrinkLeaf(n, spectra)

Value

Returns a node with the label size properties set.

Arguments

n

A node in a dendrogram object.

spectra

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

Author

Bryan A. Hanson (DePauw University).

References

https://github.com/bryanhanson/ChemoSpec