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

design,DESeqDataSet-methodR Documentation

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

## 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


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


mikelove/DESeq2 documentation built on April 20, 2024, 5:27 p.m.