gt_get_nodes: get nodes from gatingTemplate object

Description Usage Arguments Examples

View source: R/gatingTemplate-methods.R

Description

get nodes from gatingTemplate object

Usage

1
2
3
4
5
6
gt_get_nodes(
  x,
  y,
  order = c("default", "bfs", "dfs", "tsort"),
  only.names = FALSE
)

Arguments

x

gatingTemplate

y

character node index. When missing, return all the nodes

order

character specifying the order of nodes. options are "default", "bfs", "dfs", "tsort"

only.names

logical specifiying whether user wants to get the entire gtPopulation object or just the name of the population node

Examples

1
2
3
4
5
6
7
## Not run: 
gt <- gatingTemplate(system.file("extdata/gating_template/tcell.csv",package = "openCyto"))
gt_get_nodes(gt)[1:2]
gt_get_nodes(gt, only.names = TRUE)
gt_get_nodes(gt, "/nonDebris")

## End(Not run)

openCyto documentation built on Nov. 8, 2020, 5:40 p.m.