setNodeAttributes,RCyjs-method {RCyjs} | R Documentation |
setNodeAttributes
put somewhat more detailed description here
## S4 method for signature 'RCyjs' setNodeAttributes(obj, attribute, nodes, values)
obj |
an RCyjs instance |
attribute |
a character string |
nodes |
character strings - node ids |
values |
scalar values, all of one type (all numeric, or all character, or all integer, ...) |
multi-line description goes here with continuations on subsequent lines if you like
explain what the method returns
if(interactive()){ g <- simpleDemoGraph() rcy <- RCyjs(title="rcyjs demo", graph=g) layout(rcy, "cose") fit(rcy, 100) setNodeAttributes(rcy, "lfc", c("A", "B", "C"), c(0, 0, 0)) redraw(rcy) }