Learn R Programming

RCy3 (version 1.2.0)

setDefaultNodeBorderWidth: setDefaultNodeBorderWidth

Description

In the specified CytoscapeConnection, stipulate the default border width for all node borders other than those mentioned in a node border width rule.

Usage

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

Arguments

obj
a CytoscapeConnectionClass object.
new.width
an integer.
vizmap.style.name
a String object.

Value

None.

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule

Examples

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

  cw <- CytoscapeWindow ('setDefaultNodeBorderWidth.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  setDefaultNodeBorderWidth (cw, 5)
  # redraw (cw) --> not required anymore

Run the code above in your browser using DataLab