setNodeShape,RCyjs-method {RCyjs} | R Documentation |
setNodeShape
set the specified nodes to specifed shapes
## S4 method for signature 'RCyjs' setNodeShape(obj, nodeIDs, newValues)
obj |
an RCyjs instance |
nodeIDs |
a character string (one or more) |
newValues |
a character string, one of the legitimate cytoscape.js node shapes |
no value returned
if(interactive()){ g <- simpleDemoGraph() rcy <- RCyjs(title="setNodeShape", graph=g) layout(rcy, "cose") setNodeShape(rcy, 80) }