Description Usage Arguments Value Author(s) Examples
Get the position of the specified nodes on the CytoscapeWindow canvas. Useful in retrieving the current position of nodes in the window.
1 | getNodePosition(obj, node.names)
|
obj |
a |
node.names |
a |
A names list of x,y pairs; names are the identifiers of nodes supplied when the graph was created.
Paul Shannon
1 2 3 4 | cw <- new.CytoscapeWindow ('getNodePosition.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw)
getNodePosition (cw, c ('A', 'B', 'C'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.