treeCompare | R Documentation |
The function scans a pair of phylogenetic trees to find topological differences.
treeCompare(tree, tree1, plot = TRUE)
tree, tree1 |
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous. Generic name and specific epithet must be separated by '_'. |
plot |
if |
The function returns a data-frame indicating for each un-matching species its sister species/clades on both trees.
Silvia Castiglione, Carmela Serio, Antonella Esposito
## Not run:
DataSimians$tree->tree
set.seed(22)
swapONE(tree,si=0.5)[[1]]->tree1
treeCompare(tree,tree1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.