Compute the vector of branch scaling parameters

Share:

Description

This function computes the square root of the phylogenetic distance between each species in the tree and one other specified species. Assuming the true model is Brownian motion with no rate shifts, the distributions of trait change from a given species to any other species should be identical when divided by the square root of the distance between the two species.

Usage

1
compute.sqrt.dist(phy, norm = 1, species = phy$tip.label[-norm])

Arguments

phy

ape format phylogeny

norm

the species to which distances are computed

species

a vector of species names for which to compute distances

Value

A vector of square root of the distance between each species and norm

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.