clearSelection,RCyjs-method {RCyjs} | R Documentation |
clearSelection
deselect all selected nodes, all selected edges, or both
## 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
if(interactive()){ rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph()) selectNodes(rcy, c("A", "B")) clearSelection(rcy) }