Description Usage Arguments Value Author(s) See Also Examples
Hide (but do not delete) the currently selected nodes. We strongly recommened that you save the current layout before hiding any nodes: 'unhideAll' previously often placed restored nodes in unpredictable positions.
1 | hideSelectedNodes(obj)
|
obj |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
unhideAll
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('hideSelectedNodes.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'force-directed')
saveLayout (cw, 'layout.tmp.RData')
selectNodes (cw, c ('A', 'B'))
hideSelectedNodes (cw)
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.