Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, stipulate the default font size for all nodes other than those mentioned in a node font size rule.
1 | setDefaultNodeFontSize(obj, new.size, vizmap.style.name = "default")
|
obj |
a |
new.size |
an |
vizmap.style.name |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setDefaultNodeFontSize.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'force-directed')
setDefaultNodeFontSize (cw, 32)
# 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.