Coerce any S4 object to a list

coerceS4ToList(from)

Arguments

from

The classes between which the coerce methods def and replace perform coercion.

Value

list.

See also

Examples

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