Learn R Programming

RCy3 (version 1.2.0)

setDefaultEdgeColor: setDefaultEdgeColor

Description

Set the default edge color.

Usage

setDefaultEdgeColor(obj, new.color, vizmap.style.name = "default")

Arguments

obj
a CytoscapeConnectionClass object.
new.color
a String object, a hex string, of the form '#RRGGBB'.
vizmap.style.name
a String object if this vizmap style needs to be distinguished from the default type.

Value

None.

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setDefaultEdgeFontSize setEdgeColorRule

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setDefaultEdgeColor test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'grid')
  setDefaultEdgeColor (cw, '#888888') # grey edges
  redraw (cw) # redraw is not required anymore

Run the code above in your browser using DataLab