setDefaultNodeShape: setDefaultNodeShape

Description Usage Arguments Value Author(s) See Also Examples

Description

For all CytoscapeWindows, specify the default node shape.

Usage

1
setDefaultNodeShape(obj, new.shape, vizmap.style.name = "default")

Arguments

obj

a CytoscapeConnectionClass object.

new.shape

a String object, one of the permissible values (see getNodeShapes).

vizmap.style.name

a String object.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

getNodeShapes setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule

Examples

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

  cw <- CytoscapeWindow ('setDefaultNodeShape.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork (cw, 'grid')
  legal.shapes <- getNodeShapes (cw)
  #stopifnot ('DIAMOND' 
  setDefaultNodeShape (cw, 'DIAMOND')
  # redraw (cw) --> not required anymore

## End(Not run)

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