setNodeOpacityDirect: setNodeOpacityDirect

Description Usage Arguments Value Author(s) See Also Examples

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)

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.