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/brio documentation built on Feb. 1, 2024, 11:47 a.m.