ChemoSpec, spectral data sets are stored in an S3 class called Spectra, which contains a variety of information in addition to the spectra themselves. Spectra objects are created by files2SpectraObject or similar functions (no others currently exist).Spectra object is a list of 7 elements and an attribute as follows:colors, but symbols for plotting (if b/w is desired).
$alt.sym chr Lower-case letters as alternate symbols for plotting.
$unit chr Two entries, the first giving the x axis unit, the second the y axis unit.
$desc chr A character string describing the data set. This appears on plots and therefore
should probably be kept to 40 characters or less.
- attr chr "Spectra" The S3 class designation.
}
sumSpectra to summarize a "Spectra" object.
sumGroups to summarize group membership of a "Spectra" object.
chkSpectra to verify the integrity of a "Spectra" object.
colorSymbol for a discussion of color options.