Description Usage Arguments Value Author(s) See Also Examples
Set the position of the specified nodes on the CytoscapeWindow canvas. Use this for any hand-crafted layouts, or novel layout algorithms, you wish to use.
1 | setNodePosition(obj, node.names, x.coords, y.coords)
|
obj |
a |
node.names |
a |
x.coords |
a |
y.coords |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getNodePosition
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodePosition.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw)
setNodePosition (cw, c ('A', 'B', 'C'), c (10.0, 20.0, 500), c (0.0,
100.0, 3))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.