getContainerComponets: Get container components.

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

Description

Method to get components (nested objects) of a specific container from an active RedeR session.

Usage

1
getContainerComponets(obj, container)

Arguments

obj

Object of RedPort Class.

container

Name of the container in the graph <string>

Value

Returns all nested objects assigned to a container <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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Initialize igraph
library(igraph)

el<-matrix(c('n1','n2','n3','n4'), ncol=2, byrow=TRUE)
g <- graph.edgelist(el)

## Not run: 

  rdp <- RedPort() 
  calld(rdp)
  addGraph( rdp, g, layout.kamada.kawai(g) )
  nestNodes( rdp, c('n1','n2') )
  nestNodes( rdp, c("n3","n4") ) 
  updateGraph(rdp)
  getContainerComponets(rdp, "N0")

## End(Not run)  

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