Skip to contents

This function converts a node from a gating tree into a data tree node format, suitable for further processing or visualization.

Usage

convertToDataTree(node, pathName = "rootNode")

Arguments

node

A node from a gating tree, usually containing statistical information and child nodes.

pathName

A string representing the node path, defaults to "rootNode".

Value

A data tree node object structured for hierarchical data representations.

Examples

if (FALSE) { # \dontrun{
# Assuming `node` is an object from a gating analysis tree:
convertedNode <- convertToDataTree(node)
} # }