pt_step3_compute_mrca: Step 3: Compute MRCA and check monophyly

View source: R/plot-timetree-pipeline.R

pt_step3_compute_mrcaR Documentation

Step 3: Compute MRCA and check monophyly

Description

Computes MRCA map for each group, checks monophyly, and detects nesting conflicts.

Usage

pt_step3_compute_mrca(tree, group_vec, clade, strict, low_memory)

Value

A named list with:

mrca_map

list of MRCA nodes per group

singleton_map

singleton group map (attr from compute_mrca_map)

all_group_names

union of mrca and singleton names


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