Decode column data that uses run-length encoding

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.

Modified object.

Note

Updated 2021-06-04.

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" #>