getNodeCount | R Documentation |
Reports the number of nodes in the current graph.
getNodeCount(obj)
obj |
a CytoscapeWindowClass object. |
A list of character strings.
Paul Shannon
cw <- new.CytoscapeWindow ('getNodeCount.test', graph=makeSimpleGraph()) displayGraph (cw) layoutNetwork (cw, 'jgraph-spring') redraw (cw) # in Cytoscape, interactively select two nodes, or getNodeCount (cw) # [1] 3