extractFactors: Extracts 'ArrayData' factors

Description Usage Arguments Value Author(s) See Also Examples

View source: R/extractFactors.r

Description

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

Usage

1
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

Author(s)

Leif Varemo piano.rpkg@gmail.com and Intawat Nookaew piano.rpkg@gmail.com

See Also

piano, diffExp

Examples

1
2
3
4
5
6
7
8
  # 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)

piano documentation built on Nov. 8, 2020, 6:27 p.m.