setNodeLabelOpacityDirectR Documentation

setNodeLabelOpacityDirect

Description

In the specified CytoscapeWindow, set the opacity of the label of the specified node.

Usage

setNodeLabelOpacityDirect(obj, node.names, new.value)

Arguments

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

Value

None.

Author(s)

Paul Shannon

See Also

setNodeFillOpacityDirect setNodeOpacityDirect setNodeBorderOpacityDirect

Examples

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