Various R functions to manipulate phylogenetic trees in R