Description Usage Arguments Details Value See Also Examples
hideNodes
hide the named nodes from view
1 2 | ## S4 method for signature 'RCyjs'
hideNodes(obj, nodeIDs)
|
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)
hideNodes(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.