| setDefaultEdgeColor | R Documentation |
In the specified CytoscapeConnection, stipulate the color for all edges other than those mentioned in a edge color rule.
setDefaultEdgeColor(obj, new.color, vizmap.style.name = "default")
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. |
None.
Paul Shannon
setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule
cw <- new.CytoscapeWindow ('sendDefaultEdgeColor.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork (cw, 'jgraph-spring')
setDefaultEdgeColor (cw, '#FFFFFF') # white edges
redraw (cw)