Descendant Edges
EdgeAncestry(edge, parent, child, stopAt = (parent == min(parent)))
number of the edge whose child edges are required
the first column of the edge matrix of a tree of class
phylo
, i.e. tree$edge[, 1]
the second column of the edge matrix of a tree of class
phylo
, i.e. tree$edge[, 2]
number of the edge at which the search should terminate; defaults to the root edges
a logical vector stating whether each edge in turn is a descendant of the specified edge
Quickly identifies edges that are 'ancestral' to a particular edge in a tree