setDefaultEdgeSourceArrowColor: setDefaultEdgeSourceArrowColor

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeConnection, stipulate the default color for all edge source arrows other than those mentioned in an edge source arrow color rule.

Usage

1
setDefaultEdgeSourceArrowColor(obj, new.color, vizmap.style.name = "default")

Arguments

obj

a CytoscapeConnectionClass object.

new.color

a String object, a hex string, of the form '#RRGGBB'.

vizmap.style.name

a String object, if this vizmap style needs to be distinguished from the default type.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setDefaultEdgeFontSize setEdgeColorRule

Examples

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

  cw <- CytoscapeWindow ('setDefaultEdgeSourceArrowColor test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  setDefaultEdgeSourceArrowColor (cw, '#F0F0F0')
  setEdgeSourceArrowShapeDirect (cw, c('A (phosphorylates) B', 'B (synthetic lethal) C'), 'DIAMOND')
  # redraw (cw) --> not required anymore

## End(Not run)


RCy3 documentation built on May 20, 2017, 9:53 p.m.
Search within the RCy3 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.