Description Usage Arguments Value Examples
setDefaultNodeWidth
set all nodes to the same specifed width, in pixels
1 2 | ## S4 method for signature 'RCyjs'
setDefaultNodeWidth(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="setDefaultNodesWidth", graph=g)
layout(rcy, "cose")
setDefaultNodeWidth(rcy, 80)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.