Description Usage Arguments Value Author(s) See Also Examples
For all CytoscapeWindows, specify the default node shape.
1 | setDefaultNodeShape(obj, new.shape, vizmap.style.name = "default")
|
obj |
a |
new.shape |
a |
vizmap.style.name |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
getNodeShapes setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.