Learn R Programming

ChemoSpec (version 5.0.88)

plotHCA: Plot Dendrogram for Spectra Object

Description

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

Usage

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

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.

leg.loc

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

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