Learn R Programming

piano (version 1.12.0)

extractFactors: Extracts ArrayData factors

Description

Extracts the factors, given by an ArrayData object, that can be used by diffExp

Usage

extractFactors(arrayData)

Arguments

arrayData
an ArrayData object.

Value

A list with elements:
factors
Assigns one factor to each array
uniqueFactors
The unique factors that can be used to form contrasts

See Also

piano, diffExp

Examples

Run this code
  # Get path to example data and setup files:
  dataPath <- system.file("extdata", package="piano")

  # Load normalized data:
  myArrayData <- loadMAdata(datadir=dataPath, dataNorm="norm_data.txt.gz", platform="yeast2")

  #Extract the factors that can be used in the call to diffExp:
  extractFactors(myArrayData)

Run the code above in your browser using DataLab