setNodeSize: setNodeSize

Description Usage Arguments Value Examples

Description

setNodeSize set the specified nodes to the specifed sizes, in pixels

Usage

1
2
## S4 method for signature 'RCyjs'
setNodeSize(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

1
2
3
4
5
6
if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setNodesSize", graph=g)
  layout(rcy, "cose")
  setNodeSize(rcy, 80)
  }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.