Learn R Programming

IdMappingAnalysis (version 1.16.0)

DataFilter$removeNASeries: Remove NA series from the experiment set

Description

Remove NA series from the experiment set.

Usage

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

Arguments

experimentSet
data.frame containing probeID (first column or row) and data arranged by series (the rest of columns or rows)
byRows
logical indicating if series arranged by rows (TRUE) or by columns (FALSE). Default is TRUE.
verbose
If TRUE enables diagnostic messages. Default is FALSE.
...
Not used

Value

The experiment data.frame with rows or columns containing all NA 's removed.

See Also

For more information see DataFilter.

Examples

Run this code
 #set to NA protein count rows which average count is less than 50 percent
 fltExperimentSet<-DataFilter$do.apply(examples$msmsExperimentSet,
   byRows=TRUE,filterFun=DataFilter$minAvgCountConstraint,filtParams=0.5,verbose=TRUE);

 #remove NA series
 fltExperimentSet<-DataFilter$removeNASeries(fltExperimentSet,byRows=TRUE,verbose=TRUE);
 dim(fltExperimentSet);
 

Run the code above in your browser using DataLab