asDGEList: Convert a SummarizedExperiment object to a DGEList object

View source: R/se_conversion.R

asDGEListR Documentation

Convert a SummarizedExperiment object to a DGEList object

Description

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

Usage

asDGEList(se, assay_name = "counts")

Arguments

se

a SummarizedExperiment object.

assay_name

a character, specifying the assay to retrieve.

Value

a DGEList object

Examples

library(ExperimentHub)

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

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


DavisLaboratory/emtdata documentation built on Nov. 24, 2024, 8:27 a.m.