setNode,GatingHierarchy,character,character-method {flowWorkspace} | R Documentation

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

### Description

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

### Usage

    ## S4 method for signature 'GatingHierarchy,character,character'
    setNode(x, y, value)

    gh_pop_set_name(x, y, value)

    ## S4 method for signature 'GatingSet,character,ANY'
    setNode(x, y, value)

    gs_pop_set_name(x, y, value)

### Arguments

`x` | GatingHierarchy
`y` | pop name/path
`value` | A `character` the name of the node. or `logical` to indicate whether to hide a node

### Examples

      ## Not run:
        #G is a gating hierarchy
        gs_get_pop_paths(G[[1]])#return node names
        gh_pop_set_name(G,"L","lymph")

    ## End(Not run)

[Package flowWorkspace version 3.34.1 Index]