UniFilter-constructor: Constructor for Class UniFilter

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Constructor for class UniFilter allows to apply different unitest filters to class ExprTreeSet, i.e. to the expression level data.frame data.

Usage

1
2
3
4
UniFilter(unitest    = "t.test",
          foldchange = character(),
          prescall   = character(),
          unifilter  = character())

Arguments

unitest

"character" vector describing parameters for uniTest.

foldchange

"character" vector describing parameters for fcFilter.

prescall

"character" vector describing parameters for callFilter.

unifilter

"character" vector describing parameters for unitestFilter.

Details

The UniFilter constructor allows to apply the following unitest filters to class ExprTreeSet:

unitest: character vector c(type,alternative,correction.numperm,mu,paired,conflevel,varequ).
foldchange: character vector c(cutoff,direction).
prescall: character vector c(cutoff,samples,condition).
unifilter: character vector c(cutoff,variable).

Value

An object of type "UniFilter"

Note

Function UniFilter is used as constructor for class UniFilter so that the user need not know details for creating S4 classes.

Author(s)

Christian Stratowa

See Also

UniFilter, PreFilter

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## fill character vectors within constructor
unifltr <- UniFilter(unitest=c("t.test","two.sided","none",0,0.0,FALSE,0.95,TRUE),
                     foldchange=c(1.3,"both"),unifilter=c(0.1,"pval"))
str(unifltr)

## alternatively add character vectors as methods after creation of constructor
unifltr <- UniFilter()
fcFilter(unifltr) <- c(1.5,"both")
unitestFilter(unifltr) <- c(0.01,"pval")
str(unifltr)

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