get nodes from graphGML object

# S4 method for graphGML
getNodes(x, y, order = c("default", "bfs", "dfs", "tsort"), only.names = TRUE)

Arguments

x

graphGML

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 nodeData or just the name of the population node

Value

It returns the node names and population names by default. Or return the entire nodeData associated with each node.

Examples

if (FALSE) { g <- read.gatingML.cytobank(xmlfile) getNodes(g) getNodes(g, only.names = FALSE) }