Computes the pairwise cophenetic distance matrix from a phylogenetic tree of class `phylo`. The output is sorted by tip labels.
Usage
# S3 method for class 'phylo'
tree_to_distances(x, ...)
Computes the pairwise cophenetic distance matrix from a phylogenetic tree of class `phylo`. The output is sorted by tip labels.
# S3 method for class 'phylo'
tree_to_distances(x, ...)