setNodeLabelOpacityDirect: setNodeLabelOpacityDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the opacity of the label of the specified node(s).

Usage

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

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.values

one or more numeric objects, ranging from 0 to 255.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setNodeFillOpacityDirect setNodeOpacityDirect setNodeBorderOpacityDirect

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setNodeLabelOpacityDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  setNodeLabelOpacityDirect (cw, 'A', 210)
  setNodeLabelOpacityDirect (cw, c('B', 'C'), c(111, 133))
  setNodeLabelOpacityDirect (cw, c('B', 'C'), 11)

## End(Not run)

RCy3 documentation built on May 31, 2017, 11:49 a.m.

Search within the RCy3 package
Search all R packages, documentation and source code