Description Usage Arguments Value References See Also

View source: R/sim_rand_graph_clust.R

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.

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

`g` |
An |

`cl` |
The clustering measure (default: transitivity) |

`max.iters` |
The maximum number of iterations to perform (default: 100) |

An `igraph`

graph object

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

```
choose.edges, rewire,
transitivity, keeping_degseq
```

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.