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.


jfukuyama/treeDA documentation built on May 18, 2021, 8:52 a.m.