Description Usage Arguments Value Author(s) See Also Examples
Select the specified nodes.
1 | selectNodes(obj, node.names, preserve.current.selection=TRUE)
|
obj |
a |
node.names |
a |
preserve.current.selection |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
clearSelection getSelectedNodeCount getSelectedNodes hideSelectedNodes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('selectNodes.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
clearSelection (cw)
selectNodes (cw, c ('A', 'B'))
getSelectedNodes (cw)
# [1] "A" "B"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.