setNodeLabelOpacityDirect

Share:

Description

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

Usage

1
setNodeLabelOpacityDirect(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.

Author(s)

Paul Shannon

See Also

setNodeFillOpacityDirect setNodeOpacityDirect setNodeBorderOpacityDirect

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.