treeCompare {RRphylo} | R Documentation |
Visualize the difference between phylogenetic trees
Description
The function scans a pair of phylogenetic trees to find topological differences.
Usage
treeCompare(tree, tree1, plot = TRUE)
Arguments
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 |
Value
The function returns a data-frame indicating for each un-matching species its sister species/clades on both trees.
Author(s)
Silvia Castiglione, Carmela Serio, Antonella Esposito
Examples
## Not run:
DataSimians$tree->tree
set.seed(22)
swapONE(tree,si=0.5)[[1]]->tree1
treeCompare(tree,tree1)
## End(Not run)
[Package RRphylo version 2.8.0 Index]