Description Usage Arguments Value Examples
setDefaultNodeSize
set all nodes to the same specifed size, in pixels
1 2 | ## S4 method for signature 'RCyjs'
setDefaultNodeSize(obj, newValue)
|
obj |
an RCyjs instance |
newValue |
a numeric, in pixels |
no value returned
1 2 3 4 5 6 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="setDefaultNodesSize", graph=g)
layout(rcy, "cose")
setDefaultNodeSize(rcy, 80)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.