unitestFilter-methods: Unitest Filter

Description Arguments Details Value Author(s) Examples

Description

This method initializes the Unitest Filter.
Applying an unitest such as the t.test to two groups returns the p-value for the test and the value of the t-statistic. The Unitest Filter allows to select only rows satisfying e.g. a certain p-value as cutoff.
The Unitest Filter flags all rows with: flag = (variable <= cutoff)

Usage

unitestFilter(object)
unitestFilter(object, value)<-

Arguments

object

object of class UniFilter.

value

character vector c(cutoff, variable).

Details

The method unitestFilter initializes the following parameters:

cutoff: the cutoff level for the filter.
variable: variable="pval" (default): p-value.
variable="stat": univariate statistic.
variable="padj": optional adjusted p-value.
variable="pcha": optional p-value obtained by permutations.

Value

An initialized UniFilter object.

Author(s)

Christian Stratowa

Examples

1
2
3
unifltr <- UniFilter()
unitestFilter(unifltr) <- c(0.01,"pval")
str(unifltr)

xps documentation built on Nov. 8, 2020, 6 p.m.