cpmWithOffset | R Documentation |
edgeR::cpm()
that uses offsetsThis is the same as edgeR::cpm()
, except that when called on a
edgeR::DGEList()
object that contains an offset matrix, that
matrix will be used by default for normalization instead of the
library sizes and normalization factors. If called on a matrix of
counts, the offset must be supplied manually.
cpmWithOffset(y, offset, ...)
y, log, prior.count, ... |
These arguments have the same meaning
as in |
offset |
The offset matrix to use. If |
... |
Additional arguments are passed to |
preserve.mean |
If TRUE (the default), scale each row of
|
A numeric matrix of CPM values, normalized using the provided offset matrix.
If y
is a DGEList with no offset matrix, offset
is generated
from the normalized library sizes.
edgeR::getOffset()
, edgeR::scaleOffset()
, edgeR::cpm()
# TODO Steal from cpm and maybe scaleOffset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.