Description Usage Arguments Details Value Author(s) Examples
Ensures scale of offsets are consistent with library sizes.
1 2 3 4 | ## S3 method for class 'DGEList'
scaleOffset(y, offset, ...)
## Default S3 method:
scaleOffset(y, offset, ...)
|
y |
numeric vector or matrix of counts, or a |
offset |
numeric vector or matrix of offsets to be scaled. If a vector, its length must equal to the length of |
... |
other arguments that are not currently used. |
scaleOffset
ensures that the scale of offsets are consistent with library sizes.
This is done by ensuring that the mean offset for each gene is the same as the mean log-library size.
The length or dimensions of offset
should be consistent with the number of libraries in y
.
scaleOffset.default
returns a numeric vector if offset
is a vector, a matrix if offset
is a matrix or a CompressedMatrix
object if offset
is a CompressedMatrix
.
scaleOffset.DGEList
computes the scaled offests and store them in the offset
component of the input DGEList
object.
Aaron Lun, Yunshun Chen
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.