Hide (but do not delete) the currently selected edges.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## Not run: # first, delete existing windows to save memory: deleteAllWindows(CytoscapeConnection()) cw <- CytoscapeWindow ('hideSelectedEdges.test', graph=makeSimpleGraph()) displayGraph (cw) layoutNetwork(cw, 'grid') selectEdges (cw, 'B (synthetic lethal) C') hideSelectedEdges (cw) # unhideAll (cw) # makes the edges appear again # previously, Cytoscape required that you render these edges, # and redo the layout, so that they are visible again. # This is no longer required. ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.