read.tm: Read a Tree Model

Description Usage Arguments Value Author(s) See Also Examples

View source: R/treeModel.R

Description

Read a tree model from a file

Usage

1
read.tm(filename)

Arguments

filename

The file containing a tree model

Value

An object of class "tm"

Author(s)

Melissa J. Hubisz and Adam Siepel

See Also

tm

Examples

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

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