Learn R Programming

flowWorkspace (version 3.16.0)

setNode,GatingHierarchy,character,character-method: Update the name of one node in a gating hierarchy/GatingSet.

Description

setNode update the name of one node in a gating hierarchy/GatingSet.

hide/unhide a node

Usage

"setNode"(x, y, value)
"setNode"(x, y, value)
"setNode"(x, y, value)

Arguments

x
GatingHierarchy object
y
character node name or path
value
A character the name of the node. or logical to indicate whether to hide a node

Examples

Run this code
## Not run: 
#     #G is a gating hierarchy
#     getNodes(G[[1]])#return node names
#     setNode(G,"L","lymph")
#   ## End(Not run)
## Not run: 
#      setNode(gh, 4, FALSE) # hide a node
#      setNode(gh, 4, TRUE) # unhide a node
# ## End(Not run)

Run the code above in your browser using DataLab