Skip to content

Plotting of network comparison results

Patricia Wollstadt edited this page Feb 2, 2022 · 1 revision

Results of statistical network comparisons can be plotted via a dedicated plotting function:

results = comp.compare_within(comp_settings, res_a, res_b, data_a, data_b)
plot_network_comparison(results)

The plot returns a figure with five subplots:

  1. network graph of the union network
  2. adjacency matrix of the union network
  3. true for significant differences in individual links
  4. absolute differences in CMI per link
  5. p-values for each link