generics | R Documentation |
New generic functions for threshing and reaping datasets.
## S4 method for signature 'ANY'
getColors(object, ...)
## S4 method for signature 'ANY'
getSplit(object, ...)
## S4 method for signature 'ANY'
getStyles(object, ...)
## S4 method for signature 'ANY'
scatter(object, ...)
## S4 method for signature 'ANY'
heat(object, ...)
## S4 method for signature 'ANY'
makeFigures(object, DIR=NULL, ...)
object |
an object of any class, but typically
|
DIR |
a character string containing the name of an existing directory. |
... |
extra arguments for generic routines. |
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.
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.
Kevin R. Coombes krc@silicovore.com
Thresher
, Reaper
, and SimThresher
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.