showAll,RCyjs-method {RCyjs}R Documentation

showAll

Description

showAll show any hidden objects: nodes, edges, or both

Usage

## S4 method for signature 'RCyjs'
showAll(obj, which = c("both", "nodes", "edges"))

Arguments

obj

an RCyjs instance

which

a character string, either "nodes", "edges" or "both"

Value

no return value

Examples

if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="rcyjs demo", graph=g)
  layout(rcy, "cose")
  selectNodes(rcy, getNodes(rcy)$id)
  hideSelectedNodes(rcy)
  showAll(rcy, "nodes")
  }


[Package RCyjs version 2.6.0 Index]