View source: R/ancestor_code.R
bt_addtag | R Documentation |
Given a tree and a set of taxa, this function will return all taxa between the two given and return an AddTag line that can be added to a BayesTraits script to use with other analysis (e.g. RecNode)
bt_addtag(tree, taxa, label = "ANC")
tree |
an object of class phylo |
taxa |
a vector of character strings indicating relevant taxa |
label |
the name of the label (ANC by default) |
a string starting with 'AddTag' followed by the label and taxa names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.