Description Usage Arguments Details Value Note Author(s) See Also Examples
Method to assign out-edges to containers in an active RedeR session. This method transfers edges from nodes to the respective containers.
1 | mergeOutEdges(obj,...)
|
obj |
Object of RedPort Class. |
... |
Additional arguments passed to RedeR application. |
Additional arguments:
Logical value. Whether to rescale the out-edge width to fit container size limits; if false, it will run a simple sum (default=TRUE).
Custom lower bound to rescale edge width (default=NULL) <numerics>.
Custom upper bound to rescale edge width between containers (default=NULL) <numerics>.
Number of levels to be merged in the hierarchy (default=1) <integer>.
Add/change edge assigments.
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 15 16 | # Initialize igraph
library(igraph)
el<-matrix(c("n1","n2","n1","n3","n1","n4","n2","n5","n2","n6","n2","n7"), 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") )
mergeOutEdges(rdp)
updateGraph(rdp)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.