Learn R Programming

xps (version 1.32.0)

ratioFilter-methods: Ratio Filter

Description

This method initializes the Ratio Filter. The ratio is the maximum value divided by minimum value for each row of the expression dataframe. The Ratio Filter flags all rows with: flag = (max/min >= cutoff)

Usage

ratioFilter(object) ratioFilter(object, value)<-

Arguments

object
object of class PreFilter.
value
numeric value c(cutoff).

Value

An initialized PreFilter object.

Details

The method ratioFilter initializes the following parameters:
cutoff:
the cutoff level for the filter.

Examples

Run this code
prefltr <- PreFilter()
ratioFilter(prefltr) <- c(1.5)
str(prefltr)

Run the code above in your browser using DataLab