setNodeFontSizeDirect | R Documentation |
In the specified CytoscapeWindow, set the size of the font used in rendering the label of the specified node.
setNodeFontSizeDirect(obj, node.names, new.size)
obj |
a CytoscapeWindowClass object. |
node.names |
one or more String objects. |
new.size |
an integer , in pixel units. |
None.
Paul Shannon
setNodeWidthDirect setNodeHeightDirect setNodeSizeDirect
cw <- new.CytoscapeWindow ('setNodeFontSizeDirect.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') setNodeFontSizeDirect (cw, 'A', 32) redraw (cw)