setNodeAttributes,RCyjs-method {RCyjs} | R Documentation

## setNodeAttributes

### Description

`setNodeAttributes` put somewhat more detailed description here

### Usage

    ## S4 method for signature 'RCyjs'
    setNodeAttributes(obj, attribute, nodes, values)

### Arguments

`obj` | an RCyjs instance
`attribute` | a character string
`nodes` | character strings - node ids
`values` | scalar values, all of one type (all numeric, or all character, or all integer, ...)

### Details

multi-line description goes here with continuations on subsequent lines if you like

### Value

explain what the method returns

### Examples

    if(interactive()){
       g <- simpleDemoGraph()
       rcy <- RCyjs(title="rcyjs demo", graph=g)
       layout(rcy, "cose")
       fit(rcy, 100)
       setNodeAttributes(rcy, "lfc", c("A", "B", "C"), c(0, 0, 0))
       redraw(rcy)
       }

[Package RCyjs version 2.2.2 Index]