selectFirstNeighborsOfSelectedNodes,RCyjs-method {RCyjs} | R Documentation

## selectFirstNeighborsOfSelectedNodes

### Description

`selectFirstNeighborsOfSelectedNodes`

### Usage

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

### Arguments

`obj` | an RCyjs instance

### Value

no return value

### Examples

    if(interactive()){
       rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
       selectNodes(rcy, "A")
       getSelectedNodes(rcy)  # just one
       selectFirstNeighborsOfSelectedNodes()
       getSelectedNodes(rcy)  # now three
       }

[Package RCyjs version 2.10.0 Index]