Description Usage Arguments Details Value See Also Examples
hideSelectedNodes
hide selected nodes from view
1 2 | ## S4 method for signature 'RCyjs'
hideSelectedNodes(obj)
|
obj |
an RCyjs instance |
The hidden nodes are not deleted from the graph
no return value
1 2 3 4 5 6 7 8 9 10 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="rcyjs demo", graph=g)
target <- nodes(g)[1]
selectNodes(rcy, target)
hideSelectedNodes(rcy)
getNodes(rcy, "hidden")
getNodes(rcy, "visible")
showAll(rcy, which="nodes")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.