Comparing a sub network with randomly simulated ones from the whole network.

1 2 3 |

`subgraph` |
An igraph object. |

`graph` |
An igraph object. The whole one for random simulation. |

`nsim` |
Times for simulation. Default value is |

`degree` |
Logical value, indicating whether to do vertex degree comparing (if |

`betweenness` |
Logical value, indicating whether to do betweenness comparing (if |

`ave.path.len` |
Logical value, indicating whether to do average path comparing (if |

`eccentricity` |
Logical value, indicating whether to do eccentricity comparing (if |

`cc` |
Logical value, indicating whether to do clustering coefficient comparing (if |

`method` |
Test method, currently only |

`FDR` |
False discovery rate. Default value is |

A matrix of compared parameters and plots.

Y Benjamini, Y Hochberg. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 57, No. 1. (1995), pp. 289-300.

`net.comparing`

, `comp.subnet`

1 2 3 4 | ```
g<-barabasi.game(100,power=0.8,directed=FALSE)
subg<-induced.subgraph(g,sample(1:100,30))
comp.rand.subnet(subg,g)
comp.rand.subnet(subg,g,degree=TRUE)
``` |

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

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