Learn R Programming

datelife (version 0.6.8)

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

Description

This function implements theorem 1.1 of Ané et al. (2009) 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)

Value

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

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.

References

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