hideSelectedNodes,RCyjs-method {RCyjs} | R Documentation

## hideSelectedNodes

### Description

`hideSelectedNodes` hide selected nodes from view

### Usage

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

### Arguments

`obj` | an RCyjs instance

### Details

The hidden nodes are not deleted from the graph

### Value

no return value

### See Also

`showAll`

### Examples

    if(interactive()){
       g <- simpleDemoGraph()
       rcy <- RCyjs(title="rcyjs demo", graph=g)
       target <- nodes(g)[1]
       selectNodes(rcy, target)
       hideSelectedNodes(rcy)
       getNodes(rcy, "hidden")
       getNodes(rcy, "visible")
       showAll(rcy, which="nodes")
       }

[Package RCyjs version 2.4.0 Index]