Skip to contents

Computes a distance matrix from a tree object.

Usage

tree_to_distances(x, ...)

Arguments

x

An object representing a phylogenetic tree or similar structure.

...

Additional arguments passed to methods.

Value

A numeric matrix with pairwise distances between tips.