setNodeFontSizeDirect: setNodeFontSizeDirect

Description Usage Arguments Value Author(s) See Also Examples

Description

In the specified CytoscapeWindow, set the size of the font used in rendering the label of the specified node(s).

Usage

1
setNodeFontSizeDirect(obj, node.names, new.sizes)

Arguments

obj

a CytoscapeWindowClass object.

node.names

one or more String objects.

new.sizes

one or more integers, in pixel units.

Value

None.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

setNodeBorderColorDirect setNodeBorderOpacityDirect setNodeBorderWidthDirect setNodeColorDirect setNodeFillOpacityDirect setNodeFontSizeDirect setNodeHeightDirect setNodeImageDirect setNodeLabelColorDirect setNodeLabelDirect setNodeLabelOpacityDirect setNodeOpacityDirect setNodeShapeDirect setNodeSizeDirect setNodeWidthDirect

Examples

 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)

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