setNodeHeight,RCyjs-method {RCyjs} | R Documentation

## setNodeHeight

### Description

`setNodeHeight` set the specified nodes to the specifed heights, in pixels

### Usage

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

[Package RCyjs version 2.4.0 Index]