setNodeOpacityDirect

Description

In the specified CytoscapeWindow, set the opacity of all aspectes of the specified node: fill color, border, label.

Usage

1
setNodeOpacityDirect(obj, node.names, new.values)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.values

a numeric object, one or more, ranging from 0 to 255.

Value

None.

Author(s)

Paul Shannon

See Also

setNodeFillOpacityDirect setNodeLabelOpacityDirect setNodeBorderOpacityDirect

Examples

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

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