summarize_summary_matrix: Gets all ages per taxon pair from a distance matrix Internal...

View source: R/to_phylo_all.R

summarize_summary_matrixR Documentation

Gets all ages per taxon pair from a distance matrix Internal function used in summary_matrix_to_phylo_all().

Description

Gets all ages per taxon pair from a distance matrix Internal function used in summary_matrix_to_phylo_all().

Usage

summarize_summary_matrix(summ_matrix)

Arguments

summ_matrix

Any summary patristic distance matrix, such as the ones obtained with datelife_result_sdm_matrix() or datelife_result_median_matrix().

Value

A data.frame of pairwise ages, with row number equal to the combinatory of column names (or row names), estimated as ncol(summ_matrix)^2 - sum(1:(ncol(summ_matrix)-1)).


phylotastic/datelife documentation built on June 9, 2024, 6:50 p.m.