setDefaultNodeWidth: setDefaultNodeWidth

Description Usage Arguments Value Examples

Description

setDefaultNodeWidth set all nodes to the same specifed width, in pixels

Usage

1
2
## S4 method for signature 'RCyjs'
setDefaultNodeWidth(obj, newValue)

Arguments

obj

an RCyjs instance

newValue

a numeric, in pixels

Value

no value returned

Examples

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

PriceLab/RCyjs documentation built on May 10, 2019, 8:03 a.m.