Coerce to list

coerceToList(object, ...)

# S4 method for Annotated
coerceToList(object)

Arguments

object

Object.

...

Additional arguments.

Value

list.

Note

Don't attempt to defined methods for as.list.

Updated 2020-01-18.

See also

Refer to the S4Vectors package for details.

Examples

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