Re: [R] how to write out a tree file with bootstrap from phangorn package

2012-08-07 Thread Klaus Schliep
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,

Re: [R] how to write out a tree file with bootstrap from phangorn package

2012-08-07 Thread Mao Jianfeng
Dear Klaus, Thanks a lot for your kind reply. That is really valuable for me. Best wishes, Jian-Feng, 2012/8/7 Klaus Schliep > 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 <