print.tm: Printing Tree Models

Description Usage Arguments Author(s) See Also Examples

View source: R/treeModel.R

Description

Print a tree model

Usage

1
2
## S3 method for class 'tm'
print(x, aslist = FALSE, ...)

Arguments

x

An object of class tm.

aslist

Logical. If TRUE, print the tree model as a list rather than in tree model format.

...

arguments to be passed to/from other functions

Author(s)

Melissa J. Hubisz and Adam Siepel

See Also

tm

Examples

1
2
3
4
5
6
7
exampleArchive <- system.file("extdata", "examples.zip", package="rphast")
filename <- "rev.mod"
unzip(exampleArchive, filename)
tm <- read.tm(filename)
tm
print(tm, aslist=TRUE)
unlink(filename)

rphast documentation built on May 1, 2019, 9:26 p.m.