showAll: showAll

Description Usage Arguments Value Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
8
if(interactive()){
  g <- simpleDemoGraph()
  rcy <- RCyjs(title="rcyjs demo", graph=g)
  layout(rcy, "cose")
  selectNodes(rcy, getNodes(rcy)$id)
  hideSelectedNodes(rcy)
  showAll(rcy, "nodes")
  }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.