| setNode,GatingHierarchy,character,character-method {flowWorkspace} | R Documentation |
setNode update the name of one node in a gating hierarchy/GatingSet.
hide/unhide a node
## S4 method for signature 'GatingHierarchy,character,character' setNode(x, y, value) ## S4 method for signature 'GatingHierarchy,character,logical' setNode(x, y, value) ## S4 method for signature 'GatingSet,character,ANY' setNode(x, y, value)
x |
|
y |
|
value |
A |
## 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)