readMCMCtree {MCMCtreeR} | R Documentation |
Read MCMCtree output tree into R
Description
Read MCMCtree output tree into R to produce time-scaled tree in APE format, and a table of the mean and 95
Usage
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
data(MCMCtree.output)
attach(MCMCtree.output)
# tree and node ages
readMCMCtree(MCMCtree.phy, from.file=FALSE)
[Package MCMCtreeR version 1.1 Index]