ratioFilter-methods {xps} | R Documentation

## 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)`.

### Details

The method `ratioFilter` initializes the following parameters:

| `cutoff`: | the cutoff level for the filter.

### Value

An initialized `PreFilter` object.

### Author(s)

Christian Stratowa

### Examples

    prefltr <- PreFilter()
    ratioFilter(prefltr) <- c(1.5)
    str(prefltr)

[Package xps version 1.0.2 Index]