getSourceEdgeIDs {RedeR} | R Documentation

## Get source-edge IDs.

### Description

Method to get IDs of all 'source' edges from an active RedeR session.

### Usage

    getSourceEdgeIDs(obj, ...)

### Arguments

`obj` | Object of RedPort Class.
`...` | Additional arguments passed to RedeR application.

### Details

Additional arguments:

type

  Filter options. Valid arguments: <'node'>, <'container'> or <'all'>. Default='node'.

status

  Filter options. Valid arguments: <'selected'>, <'nonselected'> or <'all'>. Default='all'

### Value

Returns 'source' edges <array of integers>

### Note

Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').

### Author(s)

Mauro Castro

### See Also

`RedPort` `getGraph`

### Examples

    # Initialize igraph
    library(igraph)

    edges<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7")

    ## Not run:

      rdp <- RedPort()
      calld(rdp)
      addEdges(rdp, edges)
      updateGraph(rdp)
      getSourceEdgeIDs(rdp)

    ## End(Not run)

[Package RedeR version 1.35.0 Index]