Description Usage Arguments Value Examples
View source: R/utility_functions.R
Generates a tree with a single resolved bipartition between two sets of tip names. Useful for generating constraint trees.
1 | generate_constaint_tree(tips1, tips2)
|
tips1 |
A vector of tip names for clade 1 |
tips2 |
A vector of tip names for clade 2 |
A phylo object
1 2 3 4 | library( ape )
tips1 = c("a", "b", "c")
tips2 = c("d", "e", "f")
ctree = generate_constaint_tree( tips1, tips2 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.