| getNodes,GatingSet-method {flowWorkspace} | R Documentation |
getNodes returns a character vector of names of the nodes (populations) in the GatingSet.
## S4 method for signature 'GatingSet' getNodes(x, y = NULL, order = "regular", path = "full", showHidden = FALSE, ...)
x |
A |
y |
A |
order |
|
path |
A |
showHidden |
|
... |
Additional arguments. |
integer indices of nodes are based on regular order,so whenver need to map from character node name to integer node ID,make sure to use default order which is regular.
getNodes returns a character vector of node/population names, ordered appropriately.
## Not run:
#G is a gating hierarchy
getNodes(G, path = 1])#return node names (without prefix)
getNodes(G,path = "full")#return the full path
getNodes(G,path = 2)#return the path as length of two
getNodes(G,path = "auto")#automatically determine the length of path
setNode(G,"L","lymph")
## End(Not run)