Skip to contents

This function adds a new child node to a specified location in a gating tree.

Usage

addChildNode(rootNode, childNode, path)

Arguments

rootNode

The root node or any node acting as a root in a sub-tree.

childNode

The child node to be added.

path

The path where the child node should be added.

Value

The modified node with the new child added.

Examples

if (FALSE) { # \dontrun{
rootNode <- createGatingTreeObject(...) # Setup initial node
childNode <- createChildNode(...) # Create a child node
path <- "rootNode"
addChildNode(rootNode, childNode, path)
} # }