| getPosition,RCyjs-method {RCyjs} | R Documentation |
getPosition for all or specified nodes
## S4 method for signature 'RCyjs' getPosition(obj, nodeIDs = NA)
obj |
an RCyjs instance |
nodeIDs |
a vector of character strings, default NA |
a data.frame with "id", "x" and "y" columns
if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="getPosition", graph=g)
layout(rcy, "cose")
tbl.pos <- getPosition(rcy)
tbl.posA <- getPosition(rcy, "A")
}