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 documentation to delete_node! #9

Closed anna-parker closed 2 years ago

anna-parker commented 2 years ago

Using delete_node!(node::TreeNode; ptau=false) instead of delete_node!(t::Tree, label; ptau=false) leads to issues with the print_tree_ascii function and the plot_ARG function in TreeKnit as the nodes are not fully removed from the tree, I think it would be beneficial to add this information to the function documentation as it took me a while to find what the issue was :-)