Learn R Programming

RCytoscape (version 1.22.0)

setDefaultNodeFontSize: setDefaultNodeFontSize

Description

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

Usage

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

Arguments

obj
a CytoscapeConnectionClass object.
new.size
a String object, a hex string, of the form '#RRGGBB'.
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 ('setDefaultNodeFontSize.test', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setDefaultNodeFontSize (cw, 32)
  redraw (cw)

Run the code above in your browser using DataLab