setNodeLabelRule,RCyjs-method {RCyjs} | R Documentation

## setNodeLabelRule

### Description

`setNodeLabelRule` put somewhat more detailed description here

### Usage

    ## S4 method for signature 'RCyjs'
    setNodeLabelRule(obj, attribute)

### Arguments

`obj` | an RCyjs instance
`attribute` | a character string, the node attribute to display as label

### Details

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

### Value

explain what the method returns

### Examples

    if(interactive()){
      g <- createTestGraph(nodeCount=20, edgeCount=20)
      rcy <- RCyjs(title="layouts", graph=g)
      setNodeLabelRule(rcy, "label");
      }

[Package RCyjs version 2.4.0 Index]