| hideNodes,RCyjs-method {RCyjs} | R Documentation |
hideNodes hide the named nodes from view
## S4 method for signature 'RCyjs' hideNodes(obj, nodeIDs)
obj |
an RCyjs instance |
The hidden nodes are not deleted from the graph
no return value
if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=g)
target <- nodes(g)[1]
selectNodes(rcy, target)
hideNodes(rcy)
getNodes(rcy, "hidden")
getNodes(rcy, "visible")
showAll(rcy, which="nodes")
}