| showAll,RCyjs-method {RCyjs} | R Documentation |
showAll show any hidden objects: nodes, edges, or both
## S4 method for signature 'RCyjs'
showAll(obj, which = c("both", "nodes", "edges"))
obj |
an RCyjs instance |
which |
a character string, either "nodes", "edges" or "both" |
no return value
if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=g)
layout(rcy, "cose")
selectNodes(rcy, getNodes(rcy)$id)
hideSelectedNodes(rcy)
showAll(rcy, "nodes")
}