tree.get.tags: Retrieves a list of all tags for the given node.

Description Usage Arguments Value Examples

Description

Retrieves a list of all tags for the given node.

Usage

1
  tree.get.tags(phylo, node)

Arguments

phylo

input phylo object

node

the node index for the desired tags

Value

list containing all tags associated with this node, if tags exist; empty list otherwise.

Examples

1
2
tree <- tree.read('((a,b[&&NHX:foo=bar]),c);')
tree.get.tags(tree, tree.node.with.label(tree, 'b')) # foo => bar

gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.