View source: R/shifts_manipulations.R
incidence.matrix | R Documentation |
incidence.matrix
computes the incidence matrix T of a tree : for a
lineage i and a branch b, T[i,b]=1 if b is in the lineage i, and 0
otherwise.
incidence.matrix(phylo)
phylo |
a phylogenetic tree, class |
Matrix of incidence, size Nedge x ntaxa.
incidence.matrix.full
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.