getNodes {RedeR} | R Documentation |
Method to get node list from an active RedeR session.
getNodes(obj, ...)
obj |
Object of RedPort Class. |
... |
Additional arguments passed to RedeR application. |
Additional arguments:
Filter options. Valid arguments: <'selected'>, <'nonselected'> or <'all'>. Default='selected'
Filter options. Valid arguments: <'node'>, <'container'> or <'all'>. Default='node'.
Returns nodes <array of strings>
Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').
Mauro Castro
# 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) getNodes(rdp) ## End(Not run)