layoutNetwork | R Documentation |
Layout the current graph according to the specified algorithm.
layoutNetwork(obj, layout.name='jgraph-spring')
obj |
a CytoscapeWindowClass object. |
layout.name |
a string , one of the values returned by
getLayoutNames , 'jgraph-spring' by default. |
Nothing.
Paul Shannon
getNodeShapes
cw <- new.CytoscapeWindow ('layout.test', graph=makeSimpleGraph()) displayGraph (cw) layoutNetwork (cw, 'jgraph-spring') redraw (cw) # applies default vizmap (rendering) rules, plus any you # have specified