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

Description Usage Arguments Examples

Description

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

Usage

1
2
3
4
5
6
7
8
## S4 method for signature 'DESeqDataSet'
design(object)

## S4 replacement method for signature 'DESeqDataSet,formula'
design(object) <- value

## S4 replacement method for signature 'DESeqDataSet,matrix'
design(object) <- value

Arguments

object

a DESeqDataSet object

value

a formula used for estimating dispersion and fitting Negative Binomial GLMs

Examples

1
2
dds <- makeExampleDESeqDataSet(m=4)
design(dds) <- formula(~ 1)

DESeq2 documentation built on Feb. 22, 2021, 10 a.m.