decode: Decode data that uses run-length encoding

decodeR Documentation

Decode data that uses run-length encoding

Description

Decode data that uses run-length encoding

Usage

decode(x, ...)

## S4 method for signature 'DFrame'
decode(x, j = NULL)

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

Arguments

x

Object.

j

vector. Column names or positions to evaluate.

...

Additional arguments.

Value

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

Note

Updated 2023-09-20.

See Also

  • S4Vectors::decode.

  • S4Vectors::Rle.

Examples

data(DFrame, package = "AcidTest")

## DFrame ====
object <- DFrame
object <- encode(object)
lapply(object, class)
object <- decode(object)
lapply(object, class)

acidgenomics/pipette documentation built on Jan. 31, 2024, 10:32 p.m.