Learn R Programming

RCytoscape (version 1.22.0)

setNodeFillOpacityDirect: setNodeFillOpacityDirect

Description

In the specified CytoscapeWindow, set the opacity of the fill color of the specified node.

Usage

setNodeFillOpacityDirect(obj, node.names, new.values)

Arguments

obj
a CytoscapeWindowClass object.
node.names
one or more String objects.
new.values
a numeric object, ranging from 0 to 255.

Value

None.

See Also

setNodeLabelOpacityDirect setNodeOpacityDirect setNodeBorderOpacityDirect

Examples

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

Run the code above in your browser using DataLab