duplicateGraph: Duplicate graphs in RedeR application.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Method to duplicate graphs and subgraphs of a network.

Usage

1

Arguments

obj

Object of RedPort Class.

...

Additional arguments passed to RedeR application.

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 <array of strings> (p.s. in this case, isDefaultCopy=TRUE).

Value

Duplicates graphs in RedeR app.

Author(s)

Mauro Castro

See Also

addGraph

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# 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)

RedeR documentation built on Nov. 8, 2020, 7:45 p.m.