TransformParams: Parameters for Data Transformation
Description
Collects and checks necessary parameters required for transformation. The
empty constructor is for when no data transformation is desired. One data
transformation function is distributed. See subtractFromLocation.
Arguments
Constructor
TransformParams(transform, intermediate = character(0), ...)
Creates a TransformParams object which stores the function which will do the
transformation and parameters that the function will use.
transform
A function which will do the transformation. The first
argument must be an ExpressionSet object.
intermediate
Character vector. Names of any variables created in prior stages by
runTest that need to be passed to a feature selection function.
...
Other named parameters which will be used by the transformation function.
transforParams <- TransformParams(subtractFromLocation, location = "median")
# Subtract all values from training set median, to obtain absolute deviations.