design {DEXSeq}R Documentation

Accessor function for the design annotation from a ExonCountSet object.

Description

The design vector is a factor or data frame that assigns to each column of the count data a condition (or treatment, or phenotype, or the like). This information is stored in the ExonCountSet's "phenoData" slot as a row.

Usage

## S4 method for signature 'ExonCountSet'
design(object, drop=TRUE, asAnnotatedDataFrame=FALSE)
## S4 replacement method for signature 'ExonCountSet'
design(object) <- value

Arguments

object

An ExonCountSet

drop

Indicates whether to return a single factor instead of a data frame in case of a one-way design

asAnnotatedDataFrame

Indicates whether the result should be presented as an AnnotatedDataFrame.

value

A vector or matrix with conditions for the samples, one row for each column in the count data.

Author(s)

Simon Anders, sanders@fs.tum.de

Examples

   library(DEXSeq)
   data("pasillaExons", package="pasilla")
   design( pasillaExons )

[Package DEXSeq version 1.0.2 Index]