Description Usage Arguments Details Value Author(s) See Also Examples
Method to send subgraphs to RedeR app.
1 | addSubgraph.list(obj, g, nodeList, ...)
|
obj |
Object of RedPort Class. |
g |
An igraph object. |
nodeList |
List of nodes. Will be used to extra subgraphs from g. |
... |
Additional arguments passed to RedeR application. |
Additional arguments:
Number of lines to layout the subgraph panel (default = 2) <integer>
Expansion factor of the grid area in the app panel. Options: 0.0 to 100 (default = 50) <numeric>.
Expansion factor each subgraph related to the app panel (default = 20) <numeric>.
Either a list or data frame with graph attributes (for data frames, attribute names on cols). See attribute syntax in addGraph
String argument: if 'all' it forces to update node/edge attributes of a graph already available in the app panel; if 'partial', only node attributes are updated (default = NULL).
Some pre-defined nest attributes. Options: 'tm0','tm1','tm2','tm3','tm4','tm5','tm6'.
Extracts subgraphs from 'igraph' objects and sends the result to the RedeR app.
Mauro Castro
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Initialize igraph
library(igraph)
## Not run:
rdp <- RedPort()
calld(rdp)
g <- graph.lattice(c(5,5,5))
#..extract subgraphs from g and send to RedeR:
nl<-list(c(1:10),c(15:20))
att<-data.frame(isNest=c(TRUE,TRUE), nestColor=c("#0000ff","#ff0000"))
addSubgraph.list( rdp, g, nodeList=nl, gridRows=1, gatt=att, gridScale=80)
#..for further attributes see 'addGraph' function!
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.