setNodeColorDirect: setNodeColorDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the color of the specified node or nodes. This method bypasses the vizmap and excludes this node, for the duration of the current Cytoscape session, from further manipulation by vizmap color rules.

Usage

1
setNodeColorDirect(obj, node.names, new.colors)

Arguments

obj

a CytoscapeWindowClass object.

node.names

a String list object.

new.colors

an String object, using the standard hexadecimal form, eg, '#FF88AA'

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setNodeColorRule setNodeBorderColorDirect setNodeBorderOpacityDirect setNodeBorderWidthDirect setNodeColorDirect setNodeFillOpacityDirect setNodeFontSizeDirect setNodeHeightDirect setNodeImageDirect setNodeLabelColorDirect setNodeLabelDirect setNodeLabelOpacityDirect setNodeOpacityDirect setNodeShapeDirect setNodeSizeDirect setNodeWidthDirect

Examples

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

  cw <- CytoscapeWindow ('setNodeColorDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'force-directed')
  setNodeColorDirect (cw, 'A', '#880000')
  setNodeColorDirect (cw, c('A', 'C'), c('#88FF00', '#880000'))

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.