getSelectedNodes,RCyjs-method {RCyjs} | R Documentation

## getSelectedNodes

### Description

`getSelectedNodes` get the selected nodes

### Usage

    ## S4 method for signature 'RCyjs'
    getSelectedNodes(obj)

### Arguments

`obj` | an RCyjs instance

### Value

a data.frame with (at least) an id column

### Examples

    if(interactive()){
       rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
       nodes.to.select <- getNodes(rcy)$id
       selectNodes(rcy, nodes.to.select)
       }

[Package RCyjs version 2.4.0 Index]