DGEList | R Documentation |
Creates a DGEList object.
DGEList(counts, ...)
## S4 method for signature 'RangedSummarizedExperiment'
DGEList(
counts = new("RangedSummarizedExperiment"),
lib.size = colData(counts)$lib.size,
norm.factors = colData(counts)$norm.factors,
samples = colData(counts),
group = NULL,
genes = as.data.frame(rowRanges(counts)),
remove.zeros = FALSE
)
counts |
read counts, either a numeric matrix or a RangedSummarizedExperiment object. |
... |
other arguments are not currently used. |
lib.size |
numeric vector of library sizes (sequencing depths) for the samples. Defaults to |
norm.factors |
numeric vector of normalization factors that modify the library sizes. Defaults to a vector of ones. |
samples |
data.frame containing sample information, with a row for each sample. This data.frame will be appended to the |
group |
vector or factor giving the experimental group or treatment condition for each sample. Defaults to a single group. |
genes |
data.frame containing gene annotation. |
remove.zeros |
logical, whether to remove rows that have 0 total count. |
A DGEList object.
Andrzej Oleś <andrzej.oles@gmail.com>, 2016-2023
se = simulateRnaSeqData(output = "RangedSummarizedExperiment")
## Initialize a DGEList from a RangedSummarizedExperiment object
DGEList(se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.