maffy.subset: Select Subset

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

View source: R/maffy.R

Description

Select a subset of rows with small rank-range over columns.

Usage

1
2
maffy.subset(data,subset.size=5000,maxit=100,
             subset.delta=max(round(subset.size/100),25),verbose=FALSE)

Arguments

data

a matrix

subset.size

desired size of subset

maxit

maximum number of iterations

subset.delta

maximum deviation from subset.size

verbose

logical value.

Details

Please refer to references.

Value

A list with component subset, the indexes for subset.

Author(s)

Magnus Astrand

References

Astrand, M. (2001) http://www.math.chalmers.se/~magnusaa/maffy/

See Also

maffy.normalize

Examples

1
2
3
4
5
6
if (require(affydata)) {
  #data(Dilution)
  #x <- log2(pm(Dilution)[,1:3])
  #Index <- maffy.subset(x,subset.size=100)$subset
  #mva.pairs(x[Index,])
}

affy documentation built on Nov. 8, 2020, 8:18 p.m.