encode | R Documentation |
Encode using run-length encoding
encode(x, ...)
## S4 method for signature 'SummarizedExperiment'
encode(x)
x |
Object. |
... |
Additional arguments. |
Modified object.
All atomic
columns will be encoded to Rle
S4 class.
Updated 2021-02-03.
S4Vectors::Rle()
.
data(RangedSummarizedExperiment, package = "AcidTest")
## SummarizedExperiment ====
## This works on rowData and colData.
object <- RangedSummarizedExperiment
object <- encode(object)
lapply(
X = SummarizedExperiment::rowData(object),
FUN = class
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.