setDefaultNodeSize,RCyjs-method {RCyjs}R Documentation

setDefaultNodeSize

Description

setDefaultNodeSize set all nodes to the same specifed size, in pixels

Usage

## S4 method for signature 'RCyjs'
setDefaultNodeSize(obj, newValue)

Arguments

obj

an RCyjs instance

newValue

a numeric, in pixels

Value

no value returned

Examples

if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="setDefaultNodesSize", graph=g)
  layout(rcy, "cose")
  setDefaultNodeSize(rcy, 80)
  }


[Package RCyjs version 2.6.0 Index]