scaleBranches - Scale branch lengths to represent either mutations or mutations per site.
Description¶
scaleBranches Branch length scaling function.
Usage¶
scaleBranches(clones, edge_type = "mutations")
Arguments¶
- clones
- a tibble of
airrCloneandphyloobjects, the output of getTrees. - edge_type
- Either
genetic_distance(mutations per site) ormutations
Value¶
A tibble with phylo objects that have had branch lengths
rescaled as specified.
Details¶
Uses clonestrees[[1]]edge_type to determine how branches are currently scaled.