Description Usage Arguments Value Author(s) Examples
Retrieve the identifiers of all the edges selected in the current graph.
1 | getSelectedEdges(obj)
|
obj |
a |
A list of character strings.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('getSelectedEdges.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
redraw (cw)
# in Cytoscape, interactively select an edge or call the selectEdges function
selectEdges (cw, "A (phosphorylates) B")
getSelectedEdges (cw)
# [1] "A (phosphorylates) B"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.