setNodeShapeDirect: setNodeShapeDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the shape of the specified node.

Usage

1
setNodeShapeDirect(obj, node.names, new.shapes)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.shapes

one or more String objects, one of the allowed values returned by getNodeShape.

Value

None.

Author(s)

Paul Shannon

See Also

getNodeShapes

Examples

1
2
3
4
5
6
7
  cw <- new.CytoscapeWindow ('setNodeShapeDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  getNodeShapes(cw)
  setNodeShapeDirect (cw, 'A', 'triangle')
  redraw (cw)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.