kRepsOverA: A filter function for at least k sets of replicates in a...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/kRepsOverA.R

Description

‘kRepsOverA’ returns a filter function with bindings for ‘k’ and ‘A’. This function evalutes ‘TRUE’ is at least ‘k’ of the means of the replicates are larger than ‘A’.

Usage

1
kRepsOverA(k, A = 100, INDEX)

Arguments

k

The number of sets of replicates with mean greater than A.

A

The value to exceed.

INDEX

List of factors, each of the same length as the input vector.

Value

A function with bindings for ‘A’, ‘k’, and ‘INDEX’.

Author(s)

Denise Scholtens

See Also

kOverA,pOverA

Examples

1
2
3
4
5
6
library(affy)
library(genefilter)
data(estrogen)
#select the replicates with values larger than 5
f1 <- kRepsOverA(1,5,INDEX=pData(estrogen))
genefilter(estrogen[1:30],f1)

factDesign documentation built on Nov. 8, 2020, 8:32 p.m.