read.mcmctree {treeio} | R Documentation |
read MCMCTree output Tree
read.mcmctree(file, force.ultrametric = FALSE)
file |
the output tree file of MCMCTree |
force.ultrametric |
logical whether convert the tree to be ultrametric, if it is not ultrametric, default is FALSE. When the tree is ultrametric, branch times will be calculated automatically. |
treedata object
file <- system.file("extdata/MCMCTree", "mcmctree_output.tree", package="treeio") tr <- read.mcmctree(file) tr