The Rle class is a general container for storing an atomic vector that is stored in a run-length encoding format. It is based on the rle function from the base package.

decode(x, ...)

# S4 method for SummarizedExperiment
decode(x)

Arguments

x

Object.

...

Additional arguments.

Value

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

Note

Updated 2021-02-03.

See also

Examples

data(RangedSummarizedExperiment, package = "AcidTest") ## SummarizedExperiment ==== ## This works on rowData and colData. object <- RangedSummarizedExperiment object <- decode(object) lapply(SummarizedExperiment::rowData(object), class)
#> $broadClass #> [1] "factor" #> #> $description #> [1] "character" #> #> $entrezId #> [1] "list" #> #> $geneBiotype #> [1] "character" #> #> $geneId #> [1] "character" #> #> $geneIdNoVersion #> [1] "character" #> #> $geneIdVersion #> [1] "character" #> #> $geneName #> [1] "character" #> #> $seqCoordSystem #> [1] "character" #>