net.comparing: Comparing two networks

Description Usage Arguments Value References See Also Examples

View source: R/net.comparing.R

Description

Comparing two networks' topological parameters.

Usage

1
2
3
net.comparing(graph1, graph2, topology.parameters = FALSE, degree = FALSE,
  cc = FALSE, betweenness = FALSE, eccentricity = FALSE,
  ave.path.len = FALSE, figure.type = 1, method = "utest", legendname)

Arguments

graph1

An igraph object.

graph2

An igraph object.

topology.parameters

Logical value, indicating whether to do basic compariring (if TRUE) or not (if FALSE).

degree

Logical value, indicating whether to do degree comparing (if TRUE) or not (if FALSE).

cc

Logical value, indicating whether to do clustering coefficient comparing (if TRUE) or not (if FALSE).

betweenness

Logical value, indicating whether to do betweenness comparing (if TRUE) or not (if FALSE).

eccentricity

Logical value, indicating whether to do eccentricity comparing (if TRUE) or not (if FALSE).

ave.path.len

Logical value, indicating whether to do average path comparing (if TRUE) or not (if FALSE).

figure.type

Type of the plot. See plot for more information.

method

Test method, only utest is supported.

legendname

Legend name for graph.

Value

A list of compared results and plot.

References

Dehmer,M. et al. A large scale analysis of information-theoretic network complexity measures using chemical structures. PLoS ONE, (2009a), 4, e8057.

See Also

comp.subnet and comp.rand.subnet.

Examples

1
2
3
g1<-barabasi.game(100,power=0.8,directed = FALSE)
g2<-erdos.renyi.game(100,p=0.01,directed = FALSE)
res<-net.comparing(g1,g2,degree=TRUE,cc=TRUE,betweenness=FALSE)

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