Description Usage Arguments Value Examples
clearSelection
deselect all selected nodes, all selected edges, or both
1 2 | ## S4 method for signature 'RCyjs'
clearSelection(obj, which = "both")
|
obj |
an RCyjs object |
which |
a character string: "both" (the default), "nodes" or "edges" |
no return value
1 2 3 4 5 | if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
selectNodes(rcy, c("A", "B"))
clearSelection(rcy)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.