correspondenceEdges takes edges numbers on an input tree, and gives back their corresponding numbers on the output tree.

correspondenceEdges(edges, from, to)

Arguments

edges

vector of index of edges in the tree "from"

from

initial input tree (format "phylo")

to

aimed output tree (format "phylo")

Value

vector of index of edges in the tree "to"