Description Usage Arguments Value Author(s) See Also Examples
Select the specified edges.
1 | selectEdges(obj, edge.names, preserve.current.selection=TRUE)
|
obj |
a |
edge.names |
a |
preserve.current.selection |
a |
None.
Paul Shannon
clearSelection selectEdge getSelectedEdgeCount getSelectedEdges hideSelectedEdges
1 2 3 4 5 6 7 | cw <- new.CytoscapeWindow ('selectEdges.test', graph=makeSimpleGraph())
displayGraph (cw); layoutNetwork(cw); redraw (cw)
clearSelection (cw)
selectEdges (cw, c ("A (phosphorylates) B", "B (synthetic lethal) C"))
getSelectedEdges (cw)
# more complicated, but more realistic:
#selectEdges (cw, as.character ( cy2.en (g, names (which (eda (g, 'edgeType') == 'phosphorylates')))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.