setNodeShapeDirect | R Documentation |
In the specified CytoscapeWindow, set the shape of the specified node.
setNodeShapeDirect(obj, node.names, new.shape)
obj |
a CytoscapeWindowClass object. |
node.names |
one or more String objects. |
new.shape |
a String object, one of the allowed values
returned by getNodeShapeDirects. |
None.
Paul Shannon
getNodeShapes
cw <- new.CytoscapeWindow ('setNodeShapeDirect.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') getNodeShapes (cw) setNodeShapeDirect (cw, 'A', 'triangle') redraw (cw)