Skip to contents

This function traverses a gating tree to collect enrichment data specifically from leaf nodes, where no further subdivisions occur.

Usage

collect_leaf_enrichment(tree)

Arguments

tree

A tree object that may be a root node or any subtree in a gating tree.

Value

A list of enrichment data collected from the leaf nodes of the tree.

Examples

if (FALSE) { # \dontrun{
# Assuming `tree` is a root node of a gating tree with enrichment data in leaf nodes:
leafEnrichments <- collect_leaf_enrichment(tree)
} # }