LabelFromData | R Documentation |
This function will set (add or overwrite) tree label values based on
a data.frame whose columns are the labels to be added.
The rows of the data.frame should correspond to the way the tree is structured.
This can be used in conjunction with tree2file
by adding columns to
CSV output, reading them in to be used as data input to this function.
LabelFromData(tree, data)
tree |
a |
data |
a |
This operates by side effect
Pete Dodd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.