tidytree: A Tidy Tool for Phylogenetic Tree Data Manipulation
Please go to
https://yulab-smu.top/treedata-book/chapter2.html
for the full vignette.