scaleBranches - Scale branch lengths to represent either mutations or mutations per site.
scaleBranches Branch length scaling function.
scaleBranches(clones, edge_type = "mutations")
- a tibble of
phyloobjects, the output of getTrees.
genetic_distance(mutations per site) or
A tibble with
phylo objects that have had branch lengths
rescaled as specified.
Uses clones$trees[]$edge_type to determine how branches are currently scaled.