Learn R Programming

ChemoSpec (version 1.48-4)

hcaSpectra: Plot HCA Results of a Spectra Object

Description

A wrapper which carries out HCA and plots a dendrogram colored by the information in a "Spectra" object. All methods for computing the cluster distances are available.

Usage

hcaSpectra(spectra, title = "no title provided",
c.method = "complete", d.method = "euclidean", use.sym = FALSE, ...)

Arguments

Value

None. The side effect is a plot.

Rdversion

1.1

References

http://academic.depauw.edu/~hanson/ChemoSpec/ChemoSpec.html

See Also

hclust for the underlying function. hcaScores for similar analysis of PCA scores from a "Spectra" object. plotHCA for the function that actually does the plotting.

Examples

Run this code
data(CuticleIR)
hcaSpectra(CuticleIR, title = "Cuticle IR Spectra")

Run the code above in your browser using DataLab