allocate_shifts_from_regimes {PhylogeneticEM} | R Documentation |
allocate_shifts_from_regimes
returns the position of the shifts induced
by the allocation of the regimes. Only works in an "infinite site" model.
allocate_shifts_from_regimes(phylo, regimes)
phylo |
a phylogenetic tree, class |
regimes |
: vector of size (ntaxa + Nnode) of the regimes of each node and tip. |
Vector of edges numbers where the shifts are.