get.array.subset.affy: Get a subset of arrays from an affybatch object, split by...

Description Usage Arguments Details Value Author(s) Examples

Description

Looks at a factor in the phenotypic data for an AffyBatch or ExpressionSet object and uses it to select a subset of arrays, as defined by 'members'.

Usage

1
2

Arguments

x

An AffyBatch or ExpressionSet object.

group

The name of the pData column to use.

members

The labels within the pData column to match against.

Details

Subsetting an AffyBatch object by array is achieved using [x,], while the same is achieved for an ExpressionSet by [,x]. Hence the two different functions. In general the generic method get.array.subset should be used - since it sorts this all out automatically.

Value

An AffyBatch or ExpressionSet (as appropriate) containing the selected subset of chips.

Author(s)

Crispin J Miller

Examples

1
2
3
4
5
6
  ## Not run: 
    subset1 <- get.array.subset.affybatch(eset.rma,"group","A")
    subset2 <- get.array.subset.exprset(eset.rma,"group",c("A","P"))
    subset3 <- get.array.subset(eset.rma,"group","A")
  
## End(Not run)

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