tree_in_graph | R Documentation |
This function tests whether a tree is part of a graph. This is useful for testing whether a Y-chromosome tree is consistent with an autosomal admixture graph. Leaf node names matter, but internal node names are ignored.
tree_in_graph(tree, graph)
tree |
An admixture graph without admixture event |
graph |
An admixture graph |
TRUE
if all admixture constraints are satisfied, else FALSE
## Not run:
tree = graph_splittrees(example_igraph)
tree_in_graph(tree, example_igraph)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.