Learn R Programming

RedeR (version 1.20.0)

duplicateGraph: Duplicate graphs in RedeR application.

Description

Method to duplicate graphs and subgraphs of a network.

Usage

duplicateGraph(obj, ...)

Arguments

obj
Object of RedPort Class.
...
Additional arguments passed to RedeR application.

Value

Duplicates graphs in RedeR app.

Details

Additional arguments:
isToCopyEdges
Logical value, whether to include edges to the copy (default = TRUE).

isDefaultCopy
Logical value, whether to duplicate the complete network or to copy only the original graph (default = TRUE).
nodes
Optional: nodes to be duplicated (p.s. in this case, isDefaultCopy=TRUE).

See Also

addGraph

Examples

Run this code

rdp <- RedPort('MyPort')

## Not run: 
# 
# calld(rdp)
# 
# ###
# 
# g1 <- graph.lattice(c(3,3,3))
# addGraph( rdp, g1, layout.kamada.kawai(g1) )
# duplicateGraph(rdp)
# ## End(Not run)

Run the code above in your browser using DataLab