Description Usage Arguments Value Examples
selectFirstNeighborsOfSelectedNodes
1 2 | ## S4 method for signature 'RCyjs'
selectFirstNeighborsOfSelectedNodes(obj)
|
obj |
an RCyjs instance |
no return value
1 2 3 4 5 6 7 | if(interactive()){
rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
selectNodes(rcy, "A")
getSelectedNodes(rcy) # just one
selectFirstNeighborsOfSelectedNodes()
getSelectedNodes(rcy) # now three
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.