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 Oct. 27, 2024, 10:01 p.m.