Skip to contents

Coerce to list

Usage

coerceToList(object, ...)

# S4 method for Annotated
coerceToList(object)

Arguments

object

Object.

...

Additional arguments.

Value

list.

Details

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

Note

Updated 2021-10-14.

See also

Refer to the S4Vectors package for details.

Examples

data(DFrame, package = "AcidTest")

## Annotated ====
object <- DFrame
is(object, "Annotated")
#> [1] TRUE
object <- coerceToList(object)
class(object)
#> [1] "list"
names(object)
#> [1] "rownames"        "nrows"           "elementType"     "elementMetadata"
#> [5] "metadata"        "listData"