gs_get_pop_paths.Rdgs_get_pop_paths returns a character vector of names of the nodes (populations) in the GatingSet.
gs_get_pop_paths( x, y = NULL, order = "regular", path = "full", showHidden = FALSE, ... ) gh_get_pop_paths( x, y = NULL, order = "regular", path = "full", showHidden = FALSE, ... )
| x | A |
|---|---|
| y | A |
| order |
|
| path | A |
| showHidden |
|
| ... | Additional arguments. |
gs_get_pop_paths returns a character vector of node/population names, ordered appropriately.
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.
if (FALSE) { # G is a gating hierarchy gs_get_pop_paths(G, path = 1)#return node names (without prefix) gs_get_pop_paths(G, path = "full")#return the full path gs_get_pop_paths(G, path = 2)#return the path as length of two gs_get_pop_paths(G, path = "auto")#automatically determine the length of path gs_pop_set_name(G, "L", "lymph") }