Learn R Programming

IdMappingAnalysis (version 1.16.0)

DataFilter$do.apply: Filter experiment using constraints

Description

Filter experiment using constraints. The function applyies the constraint filter to the experiment data.frame, by rows or columns, replacing the content of each row or column with constraint filter output. In most cases, if the given row or column passes the constraint check, it is left intact and replaced by NA 's otherwise. One of the purposes of this function is to perform the quality control of experiment data and filter out series which do not pass the QC by applying the removeNASeries method as the last step.

Usage

## Static method (use this): ## DataFilter$do.apply(experimentSet, byRows=TRUE, filterFun=NULL, filtParams=NULL, verbose=FALSE, ...)
## Don't use the below: "do.apply"(static, experimentSet, byRows=TRUE, filterFun=NULL, filtParams=NULL, verbose=FALSE, ...)

Arguments

experimentSet
data.frame containing probeID (first column/row) and data arranged by series (the rest of columns/rows)
byRows
logical indicating if series arranged by rows (TRUE) or by columns (FALSE). Default is TRUE.
filterFun
The filtering function applyied to the experiment set, typically the constraint filter.
filtParams
Filtering function parameters.
verbose
If TRUE enables diagnostic messages. Default is FALSE.
...
Not used

Value

The data.frame with data filtered by filterFun.

See Also

For more information see DataFilter.