Description Usage Arguments Value Examples
sfn
select first neighbors of the currently selected nodes
1 2 | ## S4 method for signature 'RCyjs'
sfn(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
sfn()
getSelectedNodes(rcy) # now three
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.