New generic functions for threshing and reaping datasets.
# S4 method for ANY
getColors(object, …)
# S4 method for ANY
getSplit(object, …)
# S4 method for ANY
getStyles(object, …)
# S4 method for ANY
scatter(object, …)
# S4 method for ANY
heat(object, …)
# S4 method for ANY
makeFigures(object, DIR=NULL, …)
an object of any class, but typically
Thresher
, Reaper
, or
SimThresher
.
a character string containing the name of an existing directory.
extra arguments for generic routines.
The form of the value returned by these functions may change depending on the class of its argument. See the documentation of the particular methods for details of what is produced by that method.
The getColors
method should return a vector of colors with
length equal to the number of columns in a data set.
The getSplit
method should return a vector of colors with
length equal to the number of rows in a data set.
The heat
, scatter
, and makeFigures
methods are
called for their side effects of producing plots.
The methods getColors
, getSplit
. and getStyles
are used to extract the implicit color assignments used in standard
plots of objects of the Thresher
or Reaper
classes.
The heat
and scatter
methods represent generic heat maps
and scatter plots, respectively.
The makeFigures
method is to generate a standard suite of
figures for an object. If the DIR
argument is not NULL, then
the figures will be written to the indicated directory in PNG
format. Otherwise, the figures will be displayed interactivey on
screen, waiting for user input to show each plot.
Thresher
, Reaper
, and SimThresher
.