read.beast {treeio} | R Documentation |
read beast/mrbayes/mega Nexus output
read beast/mrbayes/mega newick file format
read.beast(file) read.mrbayes(file) read.beast.newick(file) read.mega(file)
file |
newick file |
treedata object
treedata object
Guangchuang Yu https://guangchuangyu.github.io
Bradley R Jones
file <- system.file("extdata/BEAST", "beast_mcc.tree", package="treeio") read.beast(file) file <- system.file("extdata/MrBayes", "Gq_nxs.tre", package="treeio") read.mrbayes(file) tree <- read.beast.newick(textConnection('(a[&rate=1]:2,(b[&rate=1.1]:1,c[&rate=0.9]:1)[&rate=1]:1);'))