voomWithOffset | R Documentation |
limma::voom()
that uses an offset matrixUnlike limma::voom()
, this function can use an offset matrix
instead of normalization factors. This is useful for using limma
with gene-level estimated counts from Salmon or Kallisto, for which
an offset matrix can be produced from the effective gene lengths.
voomWithOffset( counts, design = NULL, offset, normalize.method = "none", span = 0.5, plot = FALSE, save.plot = FALSE, ... )
counts, design, normalize.method, span, plot, save.plot, ... |
These arguments have the same meaning as in |
offset |
An offset matrix to be used in computing log2 CPM
values. This is optional only if |
An EList object like that returned by limma::voom()
, but
with log2 CPM values computed using the offset matrix.
If counts
is a DGEList object that does not contain an offset
matrix, one will be generated from the normalized library sizes,
yielding identical behavior to limma::voom()
. Hence, this is
generally usable as a drop-in replacement for limma::voom()
.
edgeR::getOffset()
# TODO: Copy from voom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.