build_grove_matrix: Find the grove for a group of chronograms and build a matrix.

View source: R/groves.R

build_grove_matrixR Documentation

Find the grove for a group of chronograms and build a matrix.

Description

This function implements theorem 1.1 of Ané et al. (2009) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00026-009-0017-x")} to find a grove for a given group of chronograms.

Usage

build_grove_matrix(datelife_result, n = 2)

Arguments

datelife_result

A datelifeResult object.

n

The degree of taxon name overlap among input chronograms. Defaults to n = 2, i.e., at least two overlapping taxon names.

Value

A matrix. Each cell shows whether n-overlap exists between a pair of inputs.

References

Ané, C., Eulenstein, O., Piaggio-Talice, R., & Sanderson, M. J. (2009). "Groves of phylogenetic trees". Annals of Combinatorics, 13(2), 139-167, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00026-009-0017-x")}.


datelife documentation built on July 10, 2023, 2:02 a.m.