as.list: Coerce an S4 Object to a List

Description Usage Arguments Details Value Author(s) Examples

Description

Coercion of S4 objects to lists can be applied to explore their content, avoiding errors caused by their validation.

Usage

1
2
3
4
5
## S4 method for signature 'taxlist'
as.list(x, ...)

## Default function
S4_to_list(x)

Arguments

x

An object of class taxlist or any S4 class.

...

further arguments passed to or from other methods.

Details

The function 'S4_to_list' transforms any S4 object to a list setting slots to elements of the list and it is running internally in the method 'as.list' for taxlist objects.

Value

An object of class list.

Author(s)

Miguel Alvarez, [email protected].

Examples

1
2
3
4

taxlist documentation built on July 2, 2018, 1:03 a.m.