getPosition: getPosition

Description Usage Arguments Value Examples

Description

getPosition for all or specified nodes

Usage

1
2
## S4 method for signature 'RCyjs'
getPosition(obj, nodeIDs = NA)

Arguments

obj

an RCyjs instance

nodeIDs

a vector of character strings, default NA

Value

a data.frame with "id", "x" and "y" columns

Examples

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")
  }

paul-shannon/RCyjs documentation built on May 28, 2019, 1:15 p.m.