Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the size of the font used in rendering the label of the specified node(s).
1  | setNodeFontSizeDirect(obj, node.names, new.sizes)
 | 
obj | 
 a   | 
node.names | 
 one or more   | 
new.sizes | 
 one or more   | 
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setNodeBorderColorDirect setNodeBorderOpacityDirect setNodeBorderWidthDirect setNodeColorDirect setNodeFillOpacityDirect setNodeFontSizeDirect setNodeHeightDirect setNodeImageDirect setNodeLabelColorDirect setNodeLabelDirect setNodeLabelOpacityDirect setNodeOpacityDirect setNodeShapeDirect setNodeSizeDirect setNodeWidthDirect
1 2 3 4 5 6 7 8 9 10 11 12  |   ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())
  cw <- CytoscapeWindow ('setNodeFontSizeDirect.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'force-directed')
  setNodeFontSizeDirect (cw, 'A', 32)
  setNodeFontSizeDirect (cw, c('B', 'C'), 32)
  setNodeFontSizeDirect (cw, c('A', 'B'), c(10, 15))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.