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')
Run the code above in your browser using DataLab