Description Usage Arguments Details Author(s) See Also
This function takes the given tree object and returns a string
representing the tree in the requested format. The difference between
the "newick"
and "newick.named"
formats is that the
former uses only node numbers in its output, whereas the latter uses
the tip labels (sanitized and deduplicated if necessary).
1 | write_annotated(tree, filename, format="nexus")
|
tree |
a phylogentic tree, with optional annotations |
filename |
a file to write no |
format |
a format specifier; either |
The tree object should be either a "phylo"
or
"multiPhylo"
object. It may optionally be augmented with
annotations, as described in the documentation for the
parse_annotated
function.
Daniel Beer dlbeer@gmail.com
parse_annotated
,
print_annotated
,
read_annotated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.