# Make a set of three identical trees (differing only in "rotation" of nodes):
trees <- ape::read.tree(text = c(
"((A,B),(C,(D,E)));",
"((C,(D,E)),(A,B));",
"((B,A),(C,(E,D)));")
)
# Show that there is only one unique tree:
find_unique_trees(trees = trees)
Run the code above in your browser using DataLab