Skip to contents

This function processes a Gating Tree object from a flow cytometry analysis package, extracting and calculating various statistics such as enrichment, entropy, and delta values for each gate. It returns the object with additional data frames attached that contain detailed analysis results.

Usage

GatingTreeToDF(x)

Arguments

x

FlowObject.

Value

FlowObject with a GatingTreeDF.

Details

The function traverses the gating tree recursively to collect enrichment and entropy values from each node. It calculates deltas of enrichment values as differences between consecutive gates. Additionally, it computes a maximum enrichment statistic for each path through the tree, sorting these values to identify the most significant gates. Interaction effects (IE) and a detailed breakdown of changes in enrichment values are also calculated and stored in the returned object.

Examples

if (FALSE) { # \dontrun{
x <- GatingTreeToDF(x)
} # }