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")
  }

RCyjs documentation built on Nov. 8, 2020, 8:20 p.m.