powered by
Creates a histogram of the null distribution with the observed value marked.
# S3 method for cograph_cluster_significance plot(x, ...)
Invisibly returns x
A cograph_cluster_significance object
cograph_cluster_significance
Additional arguments passed to hist
hist
g <- igraph::make_graph("Zachary") comm <- community_louvain(g) sig <- cluster_significance(g, comm, n_random = 20, seed = 42) plot(sig)
Run the code above in your browser using DataLab