Learn R Programming

RCytoscape (version 1.22.0)

setNodeBorderColorDirect: setNodeBorderColorDirect

Description

In the specified CytoscapeWindow, set the color of the border of the specified node.

Usage

setNodeBorderColorDirect(obj, node.names, new.color)

Arguments

obj
a CytoscapeWindowClass object.
node.names
one or more String objects.
new.color
a String object, in standard hex notation.

Value

None.

See Also

setNodeSizeDirect

Examples

Run this code
  cw <- new.CytoscapeWindow ('setNodeBorderColorDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setNodeBorderColorDirect (cw, 'A', '#FFFF00')
  redraw (cw)

Run the code above in your browser using DataLab