Internal function used to get mutation ids for each edge of the tree.

get_mutation_ids_per_edge(tree, phydata)

Arguments

tree

A tree object (of class phylo).

phydata

Phylogenetic data used for the tree construction (of class phyDat).

Value

A list of mutations gained and loosed on each edge.