Coerce any S4 object that extends Annotated to a standard list.

coerceS4ToList(object, ...)

# S4 method for Annotated
coerceS4ToList(object)

Arguments

object

Object.

...

Additional arguments.

Value

list.

Note

Updated 2019-10-22.

See also

Refer to the S4Vectors package for details.

Examples

data(RangedSummarizedExperiment, package = "acidtest") ## SummarizedExperiment ==== object <- RangedSummarizedExperiment x <- coerceS4ToList(RangedSummarizedExperiment) class(x)
#> [1] "list"
#> [1] "rowRanges" "colData" "assays" "NAMES" #> [5] "elementMetadata" "metadata"