Learn R Programming

cograph (version 2.7.2)

plot.cograph_cluster_significance: Plot Cluster Significance

Description

Creates a histogram of the null distribution with the observed value marked.

Usage

# S3 method for cograph_cluster_significance
plot(x, ...)

Value

Invisibly returns x

Arguments

x

A cograph_cluster_significance object

...

Additional arguments passed to hist

Examples

Run this code
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