Learn R Programming

openCyto (version 1.10.3)

getNodes,gatingTemplate-method: get nodes from gatingTemplate object

Description

get nodes from gatingTemplate object

Usage

## S3 method for class 'gatingTemplate':
getNodes(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

Run this code
gt <- gatingTemplate(system.file("extdata/gating_template/tcell.csv",package = "openCyto"))
getNodes(gt)[1:2]
getNodes(gt, only.names = TRUE)
getNodes(gt, "/nonDebris")

Run the code above in your browser using DataLab