setDefaultNodeBorderWidth

Share:

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

1
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.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule

Examples

1
2
3
4
5
6
7
8
  # 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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.