setDefaultEdgeColor: setDefaultEdgeColor

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the default edge color.

Usage

1
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.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setDefaultEdgeFontSize setEdgeColorRule

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 ('setDefaultEdgeColor test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'grid')
  setDefaultEdgeColor (cw, '#888888') # grey edges
  redraw (cw) # redraw is not required anymore

## End(Not run)

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