invertNodeSelection,RCyjs-method {RCyjs} | R Documentation |
invertNodeSelection
deselect all selected nodes, select all previously unselected nodes
## S4 method for signature 'RCyjs' invertNodeSelection(obj)
obj |
an RCyjs instance |
no return value
if(interactive()){ g <- simpleDemoGraph() rcy <- RCyjs(title="rcyjs demo", graph=g) target <- nodes(g)[1] selectNodes(rcy, target) invertNodeSelection(rcy) }