getAllNodes | R Documentation |
Retrieve the identifiers of all the nodes in the current graph - a list of strings.
getAllNodes(obj)
obj |
a CytoscapeWindowClass object. |
A list of character strings. Note that node names are returned – their original and primary identifiers – and that these may be different from the node labels that you see when you look at the graph in Cytoscape.
Paul Shannon
cw <- CytoscapeWindow ('getAllNodes.test', graph=makeSimpleGraph()) getAllNodes (cw) # [1] "C" "B" "A"