getNodes,graphGML-method {CytoML} | R Documentation

## get nodes from graphGML object

### Description

get nodes from graphGML object

### Usage

    ## S4 method for signature '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

    ## Not run:
    g <- read.gatingML.cytobank(xmlfile)
    getNodes(g)
    getNodes(g, only.names = FALSE)

    ## End(Not run)

[Package CytoML version 2.2.2 Index]