asDGEList: Convert a SummarizedExperiment object to a DGEList object

Description Usage Arguments Value Examples

View source: R/se_conversion.R

Description

This function converts a SummarizedExperiment object to a DGEList object to enhance differential expression analysis using the edgeR package.

Usage

1
asDGEList(se, assay_name = "counts")

Arguments

se

a SummarizedExperiment object.

assay_name

a character, specifying the assay to retrieve.

Value

a DGEList object

Examples

1
2
3
4
5
6
7
library(ExperimentHub)

eh = ExperimentHub()
query(eh, 'emtdata')

cursons2018_se = eh[['EH5440']]
cursons2018_dge = asDGEList(cursons2018_se)

DavisLaboratory/emtdata documentation built on Dec. 17, 2021, 4:09 p.m.