R/parsimonyNumber.R
clusters_from_shifts.Rd
clusters_from_shifts
take a vector of shifts edges, and gives the
clustering of the tips induced by them, in a "no homoplasy" model (i.e. no
convergence is allowed).
clusters_from_shifts(tree, edges, part.list = enumerate_tips_under_edges(tree))
phylogenetic tree
a vector of edges of the tree, where the shifts are
a list giving the descendant tips of each edge
list of size n+m-1, entry i is the vector of tips bellow edge i.
By default, this function uses enumerate_tips_under_edges
to compute
the list of tips under each edge.