design {isomiRs} | R Documentation

## Accessors for the 'design' slot of a IsomirDataSeq object.

### Description

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

### Usage

    ## S4 method for signature 'IsomirDataSeq'
    design(object)

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

### Arguments

`object` | A IsomirDataSeq object.
`value` | A formula to pass to DESeq2.

### Value

design for the experiment

### Examples

    data(mirData)
    design(mirData) <- formula(~ 1)

[Package isomiRs version 1.22.1 Index]