clearSelection: clearSelection

Description Usage Arguments Value Examples

Description

clearSelection deselect all selected nodes, all selected edges, or both

Usage

1
2
## S4 method for signature 'RCyjs'
clearSelection(obj, which = "both")

Arguments

obj

an RCyjs object

which

a character string: "both" (the default), "nodes" or "edges"

Value

no return value

Examples

1
2
3
4
5
if(interactive()){
   rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
   selectNodes(rcy, c("A", "B"))
   clearSelection(rcy)
   }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.