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

Share:

Description

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

hide/unhide a node

Usage

1
2
3
4
5
6
7
8
## 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)

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.