get.array.indices: Find arrays in an AffyBatch object defined by their phenoData

Description Usage Arguments Author(s) Examples

Description

Given an AffyBatch object, looks at its phenoData slot to find the factor, or column specified by 'group' and searches that column for entries supplied in 'members'. Returns the indices of these rows. For example, in a six chip AffyBatch object, x, with a column 'treatment' containing 'c','c',t1','t2','t1','t2', a call to get.array.indices(x,\"treatment\",c(\"c\",\"t1\")) would return c(1,2,3,5).

Usage

1

Arguments

x

An ExpressionSet or AffyBatch object.

group

The name of the pData column to use.

members

The labels within the pData column to match against.

Author(s)

Crispin J Miller

Examples

1
2
3
4
  ## Not run: 
    indices3 <- get.array.indices(eset.rma,"group","A")
  
## End(Not run)

simpleaffy documentation built on Nov. 8, 2020, 11:09 p.m.