Description Usage Arguments Value Examples
getPosition
for all or specified nodes
1 2 | ## 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
1 2 3 4 5 6 7 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="getPosition", graph=g)
layout(rcy, "cose")
tbl.pos <- getPosition(rcy)
tbl.posA <- getPosition(rcy, "A")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.