Does anyone know how to compute the patristic distance between the root node of a phylogenetic tree and every taxon within that tree? Ideally using Dendropy, but will take anything.
Yes, you can try this:
x <- as(rtree(50), 'phylo4')
treePlot(x, type = 'fan')
distances <- distRoot(x, method = 'patristic')
distances <- as.data.frame(distances)
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy