| ProcessingStep-class {MSnbase} | R Documentation |
The ProcessingStep class is a simple object to encapsule all
relevant information of a data analysis processing step, i.e. the
function name and all arguments.
Objects of this class are mainly used to record all possible
processing steps of an OnDiskMSnExp object for
later lazy execution.
Objects can be created by calls of the form
new("ProcessingStep",...) or using the ProcessingStep
constructor function.
FUN:The function name to be executed as a character string.
ARGS:A named list with all arguments to the function.
Execute the processing step object. Internally this
calls do.call passing all arguments defined in the
ProcessingStep object along with potential
additional arguments in ... to the function
object@FUN.
Class "Versioned", directly.
Johannes Rainer <johannes.rainer@eurac.edu>
## Define a simple ProcessingStep
procS <- ProcessingStep("sum", list(c(1, 3, NA, 5), na.rm= TRUE))
executeProcessingStep(procS)