Tree Model to List

Share:

Description

Coerce a tree model into a list

Usage

1
2
## S3 method for class 'tm'
as.list(x, ...)

Arguments

x

an object of class tm

...

arguments to be passed to/from other functions

Author(s)

Melissa J. Hubisz and Adam Siepel

See Also

tm

Examples

1
2
3
4
tm <- tm(tree="((human:0.01, chimp:0.01):0.03, mouse:0.3)",
         subst.mod="JC69")
is.list(tm)
is.list(as.list(tm))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.