setNodeWidth,RCyjs-method {RCyjs} | R Documentation |
setNodeWidth
set the specified nodes to the specifed widths, in pixels
## S4 method for signature 'RCyjs' setNodeWidth(obj, nodeIDs, newValues)
obj |
an RCyjs instance |
nodeIDs |
a character string (one or more) |
newValues |
a numeric, in pixels (one, or as many as there are nodeIDs) |
no value returned
if(interactive()){ g <- simpleDemoGraph() rcy <- RCyjs(title="setNodesWidth", graph=g) layout(rcy, "cose") setNodeWidth(rcy, 80) }