getPosition,RCyjs-method {RCyjs} | R Documentation

## getPosition

### Description

`getPosition` for all or specified nodes

### Usage

    ## 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

    if(interactive()){
      g <- simpleDemoGraph()
      rcy <- RCyjs(title="getPosition", graph=g)
      layout(rcy, "cose")
      tbl.pos <- getPosition(rcy)
      tbl.posA <- getPosition(rcy, "A")
      }

[Package RCyjs version 2.4.0 Index]