Skip to contents

Similar to `collect_all_enrichment`, this function recursively collects entropy values from a specified node and all its child nodes within a gating tree.

Usage

collect_all_entropy(tree)

Arguments

tree

A tree node from which to start collecting entropy values. Nodes are expected to have a `History` with `entropy` values and possibly `Children` with further sub-nodes.

Value

A list of entropy values collected recursively from the node and its children.

Details

Entropy values are gathered from the `History` component of each node, if present. The function recursively navigates through all child nodes to collect their entropy values.

Examples

if (FALSE) { # \dontrun{
  entropy_values <- collect_all_entropy(root_node)
} # }