Skip to contents

This function recursively extracts all nodes from the specified GatingTree object within a FlowObject, either the full GatingTree or the pruned version.

Usage

extractNodes(x, pruned = FALSE)

Arguments

x

A FlowObject containing a GatingTree.

pruned

Logical indicating whether to extract nodes from the pruned GatingTree. Defaults to FALSE.

Value

A data frame containing details of all nodes in the specified GatingTree.

Examples

if (FALSE) { # \dontrun{
  full_tree_nodes <- extractNodes(x)
  pruned_tree_nodes <- extractNodes(x, pruned = TRUE)
} # }