setDefaultEdgeLineStyle: setDefaultEdgeLineStyle

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeConnection, stipulate the default line style for all edges.

Usage

1
setDefaultEdgeLineStyle(obj, new.line.style, vizmap.style.name = "default")

Arguments

obj

a CytoscapeConnectionClass object.

new.line.style

an String object, an avaiable line style, check getLineStyles for possible options.

vizmap.style.name

a String object, the visual style, check getVisualStyleNames for possible options.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setEdgeColorRule

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setDefaultEdgeLineStyle.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  setDefaultEdgeLineStyle (cw, 'DASH_DOT') 
  #redraw (cw)

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.