SummarizedExperiment to DGEList
Given any SummarizedExperiment
data object, extract basic information needed and convert it into a DGEList
object.
SE2DGEList(object)
object |
a |
This function takes a SummarizedExperiment
data object as input.
The counts
of the assay component of the input SummarizedExperiment
data object is extracted and used as the counts
component of the output DGEList
object.
The rowRanges
or rowData
of the input is converted into a data.frame
and used as genes
in the output.
The colData
of the input is also converted into a data.frame
and used as the sample information in the output.
A DGEList
object.
Yunshun Chen and Gordon Smyth
## Not run: library(SummarizedExperiment) example(SummarizedExperiment) y <- SE2DGEList(se) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.