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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.