Description Usage Arguments Value Author(s) See Also Examples
Hide (but do not delete) nodes. Highly recommended: save the current layout before hiding, since 'unhideAll' will, in addition to restoring hidden nodes to view, will place then in unpredictable locations on the screen.
1 | hideNodes(obj, node.names)
|
obj |
a |
node.names |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
hideSelectedNodes unhideAll saveLayout restoreLayout
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('hideNodes.test', graph=makeSimpleGraph())
displayGraph(cw)
redraw (cw)
layoutNetwork(cw, 'force-directed')
saveLayout (cw, 'layout.tmp.RData')
hideNodes (cw, c ('A', 'B'))
unhideAll (cw)
restoreLayout (cw, 'layout.tmp.RData')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.