setNodeWidth: setNodeWidth

Description Usage Arguments Value Examples

Description

setNodeWidth set the specified nodes to the specifed widths, in pixels

Usage

1
2
## S4 method for signature 'RCyjs'
setNodeWidth(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="setNodesWidth", graph=g)
  layout(rcy, "cose")
  setNodeWidth(rcy, 80)
  }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.