View source: R/parsimonyNumber.R
init.parsimonyCost | R Documentation |
init.parsimonyCost
initialize a (ntaxa + Nnode) x (nclus) matrix with
NAs everywhere, except for the tips.
init.parsimonyCost(phy, clusters)
clusters |
the vector of the clusters of the tips. |
phylo |
a phylogenetic tree, class |
At a tip i in state k, the line-vector is initialized as follow : (1 - Ind(k=p)_1<=p<=nclus)*Inf (where Inf * 0 = 0)
A (ntaxa + Nnode)x(nclus) matrix, with ntaxa first lines initialized as described.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.