sim.rand.graph.clust: Simulate a random graph with given degree sequence and...

Description Usage Arguments Value References See Also

View source: R/sim_rand_graph_clust.R

Description

This function will simulate a random graph with a given degree sequence and clustering coefficient. This function calls choose.edges to decide which edges will be re-wired.

Usage

1
sim.rand.graph.clust(g, cl = g$transitivity, max.iters = 100)

Arguments

g

An igraph graph object from which null graphs are simulated

cl

The clustering measure (default: transitivity)

max.iters

The maximum number of iterations to perform (default: 100)

Value

An igraph graph object

References

Bansal S., Khandelwal S., Meyers L.A. (2009) Exploring biological network structure with clustered random networks. BMC Bioinformatics, 10:405-421.

See Also

choose.edges, rewire, transitivity, keeping_degseq


brainGraph documentation built on May 30, 2017, 1:34 a.m.

Search within the brainGraph package
Search all R packages, documentation and source code