as.list.tm: Tree Model to List

Description Usage Arguments Author(s) See Also Examples

View source: R/treeModel.R

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))

rphast documentation built on May 30, 2017, 5:13 a.m.