Description Usage Arguments Value Examples
Sets the tag for a given node to the specified value. Returns the same tree structure with the new tag in place.
1 | tree.set.tag(phylo, node, tag, value)
|
phylo |
input phylo object |
node |
integer, the index of the node whose tag will be set |
tag |
string, the tag to set |
value |
string, the value to set |
phylo, the phylo object with the new tag
1 2 | tree <- tree.read('((a,b),c)d;')
tree.set.tag(tree, tree.find(tree, 'b'), 'foo', 'bar')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.