sfn,RCyjs-method {RCyjs} | R Documentation

## sfn

### Description

`sfn` select first neighbors of the currently selected nodes

### Usage

    ## S4 method for signature 'RCyjs'
    sfn(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
       sfn()
       getSelectedNodes(rcy)  # now three
       }

[Package RCyjs version 2.12.0 Index]