design {DEXSeq} | R Documentation |
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.
## S4 method for signature 'ExonCountSet' design(object, drop=TRUE, asAnnotatedDataFrame=FALSE) ## S4 replacement method for signature 'ExonCountSet' design(object) <- value
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. |
Simon Anders, sanders@fs.tum.de
library(DEXSeq) data("pasillaExons", package="pasilla") design( pasillaExons )