Description Usage Arguments Details Value Note Author(s) See Also Examples
Method to get node attributes 'node IDs' from an active RedeR session.
1 | getNodeIDs(obj, ...)
|
obj |
Object of RedPort Class. |
... |
Additional arguments passed to RedeR application. |
Additional arguments:
Filter options. Valid arguments: <'node'>, <'container'> or <'all'>. Default='node'.
Filter options. Valid arguments: <'selected'>, <'nonselected'> or <'all'>. Default='all'
Returns node attributes <array of numerics>
Prior calling this method invoke RedeR application via XML-RPC server (i.e. 'calld').
Mauro Castro
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)
getNodeIDs(rdp)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.