setDefaultEdgeTargetArrowColor

Share:

Description

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

Usage

1
setDefaultEdgeTargetArrowColor(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
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('setDefaultEdgeTargetArrowColor test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  setDefaultEdgeTargetArrowColor (cw, '#0F0F0F')
  setEdgeTargetArrowShapeDirect (cw, c('C (undefined) A', 'B (synthetic lethal) C'), 'ARROW_SHORT')
  # redraw (cw) --> not required anymore

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