Description Usage Arguments Value Author(s) Examples
Reports the number of nodes in the current graph.
1 | getNodeCount(obj)
|
obj |
a |
A list of character strings.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getNodeCount.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
redraw (cw)
getNodeCount (cw)
# [1] 3
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.