Decode column data that uses run-length encoding
Source:R/AllGenerics.R
, R/decode-methods.R
decode.Rd
Decode column data that uses run-length encoding
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"
#>
#> $geneBiotype
#> [1] "character"
#>
#> $geneId
#> [1] "character"
#>
#> $geneIdNoVersion
#> [1] "character"
#>
#> $geneIdVersion
#> [1] "character"
#>
#> $geneName
#> [1] "character"
#>
#> $geneSynonyms
#> [1] "CompressedCharacterList"
#> attr(,"package")
#> [1] "IRanges"
#>
#> $ncbiGeneId
#> [1] "CompressedIntegerList"
#> attr(,"package")
#> [1] "IRanges"
#>
#> $seqCoordSystem
#> [1] "character"
#>