setDefaultEdgeLineWidthR Documentation

setDefaultEdgeLineWidth

Description

In the specified CytoscapeConnection, stipulate the line width, in pixels for all edges.

Usage

setDefaultEdgeLineWidth(obj, new.width, vizmap.style.name = "default")

Arguments

obj a CytoscapeConnectionClass object.
new.width an integer object, typically from 0 to 5.
vizmap.style.name a String object.

Value

None.

Author(s)

Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setEdgeColorRule

Examples

  cw <- new.CytoscapeWindow ('setDefaultEdgeLineWidth.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork (cw, 'jgraph-spring')
  setDefaultEdgeLineWidth (cw, 5) 
  redraw (cw)