Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ProcessingStep-class

Simple processing step class


Description

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.

Details

Objects of this class are mainly used to record all possible processing steps of an OnDiskMSnExp object for later lazy execution.

Objects from the Class

Objects can be created by calls of the form new("ProcessingStep",...) or using the ProcessingStep constructor function.

Slots

FUN:

The function name to be executed as a character string.

ARGS:

A named list with all arguments to the function.

Methods and functions

executeProcessingStep(object, ...)

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.

Extends

Class "Versioned", directly.

Author(s)

Johannes Rainer <johannes.rainer@eurac.edu>

See Also

Examples

## Define a simple ProcessingStep
procS <- ProcessingStep("sum", list(c(1, 3, NA, 5), na.rm= TRUE))

executeProcessingStep(procS)

MSnbase

Base Functions and Classes for Mass Spectrometry and Proteomics

v2.16.1
Artistic-2.0
Authors
Laurent Gatto, Johannes Rainer and Sebastian Gibb with contributions from Guangchuang Yu, Samuel Wieczorek, Vasile-Cosmin Lazar, Vladislav Petyuk, Thomas Naake, Richie Cotton, Arne Smits, Martina Fisher, Ludger Goeminne, Adriaan Sticker and Lieven Clement.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.