assemble: Operation of networks

Description Usage Arguments Value Examples

View source: R/assemble.R

Description

Operation of networks including assemble them into a whole one, find their intersection, difference or complementer.

Usage

1
assemble(..., mode = c("union", "intersection", "difference", "complementer"))

Arguments

...

A list of igraph objects.

mode

Operation mode, possible values are union, intersection, difference, and complementer.

Value

An integrated igraph object.

Examples

1
2
3
4
5
6
g1<-graph.ring(10)
g2<-graph.tree(10,mode="undirected")
assemble(g1,g2,mode="union")
assemble(g1,g2,mode="intersection")
assemble(g1,g2,mode="difference")
assemble(g1,mode="complementer")

ProNet documentation built on May 30, 2017, 2:02 a.m.