setNodeColor,RCyjs-method {RCyjs} | R Documentation

## setNodeColor

### Description

`setNodeColor` set the specified nodes to the specifed color

### Usage

    ## S4 method for signature 'RCyjs'
    setNodeColor(obj, nodeIDs, newValues)

### Arguments

`obj` | an RCyjs instance
`nodeIDs` | a character string (one or more)
`newValues` | a character string, legal CSS color names (one or more)

### Value

no value returned

### Examples

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

[Package RCyjs version 2.12.0 Index]