Learn R Programming

RCytoscape (version 1.22.0)

setDefaultNodeSize: setDefaultNodeSize

Description

In the specified CytoscapeConnection, stipulate the color for all nodeBorders other than those mentioned in a node border color rule.

Usage

setDefaultNodeSize(obj, new.size, vizmap.style.name = "default")

Arguments

obj
a CytoscapeConnectionClass object.
new.size
a integer object, typically 20 to 100.
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
  cw <- new.CytoscapeWindow ('setDefaultNodeSize.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setDefaultNodeSize (cw, 60) # an intermediate value
  redraw (cw)

Run the code above in your browser using DataLab