Learn R Programming

DESeq (version 1.24.0)

design: Accessors for the 'design' slot of a DESeqDataSet object.

Description

The design holds the R formula which expresses how the counts depend on the variables in colData. See DESeqDataSet for details.

Usage

## S3 method for class 'DESeqDataSet':
design(object)

## S3 method for class 'DESeqDataSet,formula': design(object) <- value

Arguments

object
a DESeqDataSet object
value
a formula used for estimating dispersion and fitting Negative Binomial GLMs

Examples

Run this code
dds <- makeExampleDESeqDataSet(m=4)
design(dds) <- formula(~ 1)

Run the code above in your browser using DataLab