Contents
Tutorials
tasccoda.tree_utils.
get_A
Calculate ancestor matrix from a toytree tree
ToyTree
A toytree tree object
Tuple[ndarray, int]Tuple[ndarray, int]
Tuple
ndarray
int
Ancestor matrix and number of nodes without root node
A – Ancestor matrix (numpy array)
T – number of nodes in the tree, excluding the root node