readMCMCTree: Read MCMCtree output tree into R

Description Usage Arguments Value Author(s) Examples

Description

Read MCMCtree output tree into R to produce time-scaled tree in APE format, and a table of the mean and 95

Usage

1
readMCMCtree(inputPhy, forceUltrametric = TRUE, from.file = TRUE)

Arguments

inputPhy

file directory of 'Figtree' output from MCMCtree

forceUltrametric

alters branch lengths at tips so tree is fully ultrametric (default = TRUE)

from.file

Logical. Read a tree from file or locally from within R?

Value

apePhy time-scaled output tree from MCMCtree in APE format

nodeAges mean and 95

Author(s)

Mark Puttick

Examples

1
2
3
4
data(MCMCtree.output)
attach(MCMCtree.output)
# tree and node ages
readMCMCtree(MCMCtree.phy, from.file=FALSE)

PuttickMacroevolution/MCMCtreeR documentation built on June 11, 2019, 1:47 p.m.