update.parsimonyNumber {PhylogeneticEM} | R Documentation |
Actualization for parsimonyNumber.
Description
update.parsimonyNumber
compute the line vector of a parent node, given
the vectors of its daughters.
Usage
update.parsimonyNumber(daughters, daughtersParams, cost, ...)
Arguments
daughters |
the identifiers of the daughters nodes. |
daughtersParams |
a ndaughters x (nclus) matrix with the line vectors of the number of solutions for the daughters nodes. |
cost |
the (ntaxa + Nnode) x nclus matrix of costs (computed by |
Details
This function uses function compute_state_filter
to find all the admissible
states of the daughters, given a starting state for the parent.
Value
A line vector corresponding to the parent node.
[Package PhylogeneticEM version 1.7.0 Index]