Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the shape of the specified node(s).
1 | setNodeShapeDirect(obj, node.names, new.shapes)
|
obj |
a |
node.names |
one or more |
new.shapes |
one or more |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getNodeShapes
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodeShapeDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'grid')
getNodeShapes (cw)
setNodeShapeDirect (cw, 'A', 'TRIANGLE')
setNodeShapeDirect (cw, c('B', 'C'), getNodeShapes(cw)[2:3])
setNodeShapeDirect (cw, c('A', 'B', 'C'), 'PARALLELOGRAM')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.