invertNodeSelection,RCyjs-method {RCyjs} | R Documentation

## invertNodeSelection

### Description

`invertNodeSelection` deselect all selected nodes, select all previously unselected nodes

### Usage

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

### Arguments

`obj` | an RCyjs instance

### Value

no return value

### Examples

    if(interactive()){
       g <- simpleDemoGraph()
       rcy <- RCyjs(title="rcyjs demo", graph=g)
       target <- nodes(g)[1]
       selectNodes(rcy, target)
       invertNodeSelection(rcy)
       }

[Package RCyjs version 2.4.0 Index]