normalize_counts.Rd
Calculate normalized counts.
normalize_counts(x, ...) # S4 method for BbcSE normalize_counts(x, de_pkg = "edger") # S4 method for DGEList normalize_counts(x)
x | A BbcSE object or a DGEList or a DESeqDataSet. |
---|---|
... | Not used currently |
de_pkg | "edger" or "deseq2". Only used if x is a BbcSE |
A BbcSE object or a matrix or....
Normalization uses methods from the package corresponding to the de_pkg paramter:
Uses edgeR::cpm with normalized.lib.sizes = TRUE and log = TRUE
Not implemented yet.
BbcSE
: For de_pkg="edger", a SummarizedExperiment
object is created and stored in the BbcEdgeR object in the edger slot.
Group average log normalized counts are also calculated and stored as
rowData.
DGEList
: log normalized counts returned as a matrix.