makeDescendantMatrix: Make descendant matrix

Description Usage Arguments Value

View source: R/treeda-functions.R

Description

Make a matrix describing the ancestry structure of a tree. Element (i,j) indicates whether leaf i is a descendant of node j.

Usage

1

Arguments

tree

A tree object of class phylo

Value

A matrix describing the ancestry structure of a tree.


treeDA documentation built on May 15, 2021, 1:07 a.m.