Learn R Programming

ChemoSpecUtils (version 1.0.5)

.plotHCA: Plot Dendrogram for Spectra or Spectra2D Object

Description

Internal function. This function plots the results of an HCA analysis.

Usage

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

Value

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

Arguments

spectra

An object of S3 class ChemoSpec::Spectra() or ChemoSpec2D::Spectra2D().

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. Applies to Spectra objects only.

leg.loc

Character; if "none" no legend will be drawn. Otherwise, any string acceptable to legend.

...

Parameters to be passed to the plotting routines. Applies to base graphics only.

Author

Bryan A. Hanson (DePauw University).