duplicateGraph {RedeR} | R Documentation |
Method to duplicate graphs and subgraphs of a network.
duplicateGraph(obj, ...)
obj |
Object of RedPort Class. |
... |
Additional arguments passed to RedeR application. |
Additional arguments:
Logical value, whether to include edges to the copy (default = TRUE).
Logical value, whether to duplicate the complete network or to copy only the original graph (default = TRUE).
Optional: nodes to be duplicated <array of strings> (p.s. in this case, isDefaultCopy=TRUE).
Duplicates graphs in RedeR app.
Mauro Castro
# Initialize igraph library(igraph) ## Not run: rdp <- RedPort() calld(rdp) ### g1 <- graph.lattice(c(3,3,3)) addGraph( rdp, g1, layout.kamada.kawai(g1) ) duplicateGraph(rdp) ## End(Not run)