PierreBarrat / TreeTools.jl

Tools for handling rooted phylogenetic or genealogic trees with Julia.
https://pierrebarrat.github.io/TreeTools.jl/
MIT License
6 stars 1 forks source link

add two methods for trees: `distance(::Tree, ::Tree)` and `resolution_index(::Tree)` #35

Closed anna-parker closed 1 year ago

anna-parker commented 1 year ago

As discussed I have added the basic tree measures resolution_rate and RF_distance to the TreeTools package. Tests have been added to the test script :-)

PierreBarrat commented 1 year ago

Added a distance function between two trees. For now the only possible distance is RF. I also renamed resolution_value to resolution_index. "value" sounded a bit strange to me but I'm not sure resolution_index is the best name either.

anna-parker commented 1 year ago

Looks good to me! :-)