read beast/mrbayes/mega Nexus output

read.beast(file)

read.mrbayes(file)

read.mega(file)

Arguments

file

beast file

Value

treedata object

Author

Guangchuang Yu https://guangchuangyu.github.io

Examples

file <- system.file("extdata/BEAST", "beast_mcc.tree", package="treeio") read.beast(file)
#> 'treedata' S4 object that stored information of #> '/cache/treeio/extdata/BEAST/beast_mcc.tree'. #> #> [email protected] phylo: #> Phylogenetic tree with 15 tips and 14 internal nodes. #> #> Tip labels: #> A_1995, B_1996, C_1995, D_1987, E_1996, F_1997, ... #> #> Rooted; includes branch lengths. #> #> with the following features available: #> 'height', 'height_0.95_HPD', 'height_median', 'height_range', 'length', #> 'length_0.95_HPD', 'length_median', 'length_range', 'posterior', 'rate', #> 'rate_0.95_HPD', 'rate_median', 'rate_range'.