Learn R Programming

RCy3 (version 1.2.0)

setDefaultEdgeSelectionColor: setDefaultEdgeSelectionColor

Description

Set the default color used to display selected edges.

Usage

setDefaultEdgeSelectionColor(obj, new.color, vizmap.style.name)

Arguments

obj
a CytoscapeConnectionClass object.
new.color
a character object, in quoted hexadecimal format
vizmap.style.name
a character object, 'default' by default

Value

Nothing.

Examples

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

  cw = CytoscapeWindow ("demo.setDefaultEdgeSelectionColor", graph=makeSimpleGraph ())
  displayGraph (cw)
  layoutNetwork (cw)
  setDefaultEdgeSelectionColor (cw, '#00FF00')
  # redraw (cw) --> not required anymore

Run the code above in your browser using DataLab