Coercion of S4 objects to lists can be applied to explore their content, avoiding errors caused by their validation.
S4_to_list(x)# S4 method for taxlist as.list(x, ...)as(from) <- value# S4 method for taxlist as(from) <- value
# S4 method for taxlist as.list(x, ...)
as(from) <- value
# S4 method for taxlist as(from) <- value
An object of class list.
An object of class taxlist or any S4 class.
further arguments passed to or from other methods.
An object of class taxlist, which will be coerced by the replacement method.
A character value indicating the class to be coerced to. Here it is always "list".
"list"
Miguel Alvarez kamapu78@gmail.com
Coerce taxlist objects to lists.
Easplist <- as.list(Easplist) class(Easplist)
Run the code above in your browser using DataLab