Learn R Programming

RCytoscape (version 1.22.0)

setDefaultEdgeFontSize: setDefaultEdgeFontSize

Description

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

Usage

setDefaultEdgeFontSize(obj, new.size)

Arguments

obj
a CytoscapeConnectionClass object.
new.size
an integer.

Value

None.

See Also

setDefaultNodeShape setDefaultNodeFontSize setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule

Examples

Run this code
  cw <- new.CytoscapeWindow ('test setDefaultEdgeFontSize', graph=makeSimpleGraph())
  displayGraph (cw)
  redraw (cw)
  layoutNetwork(cw, 'jgraph-spring')
  setEdgeLabelRule (cw, 'edgeType')
  setDefaultEdgeFontSize (cw, 66)
  redraw (cw)

Run the code above in your browser using DataLab