decode: Decode column data that uses run-length encoding

Description Usage Arguments Value Note See Also Examples

Description

Decode (run-length encoding)

Usage

1
2
3
4
5
6
7
decode(x, ...)

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

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

Arguments

x

Object.

...

Additional arguments.

Value

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

Note

Updated 2021-06-09.

See Also

S4Vectors::decode().

Examples

1
2
3
4
5
6
7
8
data(DFrame, package = "AcidTest")
df <- DFrame

## DataFrame ====
df <- encode(df)
lapply(df, class)
x <- decode(df)
lapply(x, class)

acidgenomics/pipette documentation built on Sept. 27, 2021, 9:10 a.m.