face2face.visualization.plot_histogram_null_model.plot_null_model_subplots¶
-
face2face.visualization.plot_histogram_null_model.
plot_null_model_subplots
(Data, runs, label='type', shuffle_label=False, force_simple_graph=False, model='configuration_model')¶ Creates a figure for all attribute-value combinations
Creates and plots a figure with subplots for every attribute-value combination. Every subplot shows the frequency of the amount of edges for the given attribute-value combination and the average z-score.
- Parameters
Data (Data) – Data Object that contains Tij- and Metadata for a data set.
runs (int) – The amount of times the function should be executed. It’s a heuristic approach, so the more the runs the better might be the result
label (str) – A string that tells the function for which attribute the contact matrix should be made.
shuffle_label (bool) – Gives the option to extend the null model by randomizing the node attributes.
force_simple_graph (bool) – Deletes parallel- and selfedges that can occur by using the networkx “configuration_model”-function if True.
model (str) – Defines which null model should be used. Possible Values: “configuration_model”, “random_identities”
- Returns
- Return type
None