setDefaultEdgeColor: setDefaultEdgeColor

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeConnection, stipulate the color for all edges other than those mentioned in a edge color rule.

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)

Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setDefaultEdgeFontSize setEdgeColorRule

Examples

1
2
3
4
5
6
  cw <- new.CytoscapeWindow ('setDefaultEdgeColor test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setDefaultEdgeColor (cw, '#FFFFFF') # white edges
  redraw (cw)

RCytoscape documentation built on May 31, 2017, 2:04 p.m.

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