Description Usage Arguments Value Examples
Select nodes based on name, SUID or any other column.
1 2 | selectNodes(nodes, by.col = "name", keep.selected = FALSE,
network = "current", base.url = "http://localhost:1234/v1")
|
nodes |
a list of nodes that you want to select |
by.col |
column by which to perform selection (e.g., SUID, name); default is "name" |
keep.selected |
(boolean) whether to add to existing selection (TRUE) or clear prior selection (FALSE); default is FALSE |
network |
name or suid of the network; default is "current" network |
base.url |
cyrest base url for communicating with cytoscape |
list of SUIDs for nodes selected, excluding those that did not match provided list and those previously selected (even if keep.selected=TRUE)
1 2 3 4 | example(createNetwork)
selectNodes(c('node 0','node 1'))
selectNodes('B', by.col='group')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.