getEdges: Get edges.

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Method to get all edges from an active RedeR application.

Usage

1
getEdges(obj, ...)

Arguments

obj

Object of RedPort Class.

...

Additional arguments passed to RedeR application.

Details

Additional arguments:

status

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

type

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

Value

Returns edges <array of strings>

Note

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

Author(s)

Mauro Castro

See Also

RedPort getGraph

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# 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)
  getEdges(rdp)

## End(Not run)  

RedeR documentation built on Nov. 8, 2020, 7:45 p.m.