decode: Decode column data that uses run-length encoding

decodeR Documentation

Decode column data that uses run-length encoding

Description

Decode column data that uses run-length encoding

Usage

decode(x, ...)

## S4 method for signature 'SummarizedExperiment'
decode(x)

Arguments

x

Object.

...

Additional arguments.

Value

Modified object. Columns will be decoded and no longer Rle class.

Modified object.

Note

Updated 2021-06-04.

See Also

S4Vectors::decode().

Examples

data(RangedSummarizedExperiment, package = "AcidTest")

## SummarizedExperiment ====
## This works on rowData and colData.
object <- RangedSummarizedExperiment
object <- decode(object)
lapply(SummarizedExperiment::rowData(object), class)

acidgenomics/r-acidexperiment documentation built on Jan. 17, 2024, 7:56 p.m.