trivial_dist: Trivial distance function for arbitrary tree clustering

View source: R/Utilities.R

trivial_distR Documentation

Trivial distance function for arbitrary tree clustering

Description

Number of mutations along path from tip1 to LCA(tip1, tip2) Ensures if on same clade, join.

Usage

trivial_dist(tree, tip1, tip2)

Arguments

tree

an object of class phylo

tip1

the first leaf

tip2

the second leaf

Value

the trivial distance between tip1, tip2


YosefLab/VISION documentation built on June 14, 2024, 5:27 p.m.