Learn R Programming

ChemoSpec (version 3.0-1)

plotHCA: Plot Dendrogram for Spectra Object

Description

This function plots the results of an HCA analysis of a "Spectra" object. This is not called directly by the user -- hcaSpectra and hcaScores use it (see those pages for examples).

Usage

plotHCA(spectra, hclst, sub.title, use.sym, ...)

Arguments

spectra
An object of S3 class "Spectra".
hclst
A hclust object.
sub.title
A character string for the subtitle.
use.sym
Logical; if true, the color scheme will be black and lower-case letters will be used to indicate group membership.
...
Additional parameters to be passed to the plotting routines.

Value

  • An object of class dendrogram. Side effect is a plot.

References

https://github.com/bryanhanson/ChemoSpec