Hide (but do not delete) the currently selected edges. 'Unhide' is supposed to return them to view, but this is broken in Cytoscape 2.7.
1 2 3 4 5 6 7 8
cw <- new.CytoscapeWindow ('hideSelectedEdges.test', graph=makeSimpleGraph()) # selectEdges (cw, 'B (synthetic lethal) C') hideSelectedEdges (cw) unhideAll (cw) # alas, Cytoscape requires that you render these edges, and redo the # layout, so that they are visible again redraw (cw) layoutNetwork(cw, 'jgraph-spring')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.