Skip to contents

Coercion methods

Usage

as.DESeqDataSet(x, ...)

as.DESeqTransform(x, ...)

# S4 method for DESeqAnalysis
as.DESeqDataSet(x)

# S4 method for DESeqAnalysis
as.DESeqTransform(x)

Arguments

x

Object.

...

Additional arguments.

Value

Modified object, of desired conversion class.

Note

Updated 2022-03-30.

DESeqAnalysis

Supported coercion methods will extract any of these internal objects:

  • DESeqDataSet.

  • DESeqTransform.

  • DESeqResultsList.

Examples

data(deseq)

## DESeqAnalysis ====
dds <- as.DESeqDataSet(deseq)
class(dds)
#> [1] "DESeqDataSet"
#> attr(,"package")
#> [1] "DESeq2"
dt <- as.DESeqTransform(deseq)
class(dt)
#> [1] "DESeqTransform"
#> attr(,"package")
#> [1] "DESeq2"