Graft new tips onto an existing tree

graft_tips(tree, mapping, branch_length = 0)

Arguments

tree

A phylo object

mapping

A mapping data frame containing two columns. The left column must be identical to the tip labels of the phylogeny, the right column contains new tips to be grafted.

branch_length

A numeric giving the branch lengths for the new polytomic tips that are added.