Skip to content
Prev 302540 / 398503 Next

how to write out a tree file with bootstrap from phangorn package

Dear Jian-Feng,

you can use the function plotBS. plotBS plots a tree and adds the
support values (in %). This function also silently returns this tree:
tree <-  plotBS(fit$tree, bs)
# You can export than this tree using write.tree or write.nexus, e.g.
write.tree(tree)

Regards,
Klaus
On 8/7/12, Mao Jianfeng <jianfeng.mao at gmail.com> wrote: