View source: R/cluster-metrics.R
| plot.cograph_cluster_significance | R Documentation |
Creates a histogram of the null distribution with the observed value marked.
## S3 method for class 'cograph_cluster_significance'
plot(x, ...)
x |
A |
... |
Additional arguments passed to |
Invisibly returns x
## Not run:
if (requireNamespace("igraph", quietly = TRUE)) {
g <- igraph::make_graph("Zachary")
comm <- community_louvain(g)
sig <- cluster_significance(g, comm, n_random = 20, seed = 42)
plot(sig)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.