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