setNodeFontSize,RCyjs-method {RCyjs}R Documentation

setNodeFontSize

Description

setNodeFontSize set the specified nodes to the same specifed node font size

Usage

## S4 method for signature 'RCyjs'
setNodeFontSize(obj, nodeIDs, newValues)

Arguments

obj

an RCyjs instance

nodeIDs

a character string (one or more)

newValues

a numeric, in pixels (one, or as many as there are nodeIDs)

Value

no value returned

Examples

if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setNodeFontSize", graph=g)
  layout(rcy, "cose")
  setNodeFontSize(rcy, 5)
  }


[Package RCyjs version 2.16.0 Index]