sort_by_depth: Sort groups by MRCA node depth (deepest first)

View source: R/compute-mrca.R

sort_by_depthR Documentation

Sort groups by MRCA node depth (deepest first)

Description

Sort groups by MRCA node depth (deepest first)

Usage

sort_by_depth(groups, mrca_map, tree)

Arguments

groups

Character vector of group names

mrca_map

Output of compute_mrca_map()

tree

phylo object

Value

Sorted character vector


Rclade documentation built on Sept. 26, 2026, 5:07 p.m.