Learn R Programming

RedeR (version 1.20.0)

getNodes: Get nodes.

Description

Method to get node list from an active RedeR session.

Usage

getNodes(obj, ...)

Arguments

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

Value

Returns nodes

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'.

See Also

RedPort getGraph

Examples

Run this code
rdp <- RedPort('MyPort') 
edges<-c("n1","n2","n1","n3","n1","n4","n1","n5","n1","n6","n1","n7")

## Not run: 
# 
#   calld(rdp)
#   addEdges(rdp, edges)
#   updateGraph(rdp)
#   getNodes(rdp)
# ## End(Not run)  

Run the code above in your browser using DataLab