mean_dist: Mean distance matrix from a set of distance matrices

View source: R/mean_matrix.R

mean_distR Documentation

Mean distance matrix from a set of distance matrices

Description

This function generates the mean pairwise distance matrix from a set many pairwise distance matrices. Note: all matrices should be of the same dimension.

Usage

mean_dist(files, trace = 1, ...)

Arguments

files

list of pairwise distance matrices stored as CSVs or .rds with the same dimensions.

trace

Trace the function; trace = 2 or higher will be more voluminous.

...

Further arguments passed to or from other methods.

Value

average distance matrix


darunabas/phyloregion documentation built on Feb. 3, 2024, 8:59 p.m.