AlloViz.AlloViz.Analysis#

Module with functions to analyze filtered networks

Main function analyze() manages the analysis of filtered networks. It calls single_analysis() for the analysis of single element-metric combinations and uses the NetworkX’s functions defined in nodes_dict and edges_dict.

Module Attributes

nodes_dict

Dictionary that maps nodes network metrics custom names (e.g., betweenness centrality, "btw") with their corresponding NetworkX function (e.g., "networkx.algorithms.centrality.betweenness_centrality").

edges_dict

Dictionary that maps edges network metrics custom names (e.g., betweenness centrality, "btw") with their corresponding NetworkX function (e.g., "networkx.algorithms.centrality.edge_betweenness_centrality").

Functions

add_data(pqs, elem, data, filtered)

analyze(filtered, elements, metrics, ...)

Analyze the filtered network

analyze_graph(args)

Analyze a graph/column from raw filtered data with an element-metric

single_analysis(graphs, metricf, metric, ...)

Analyze raw data with a single element-metric

wait_analyze(pqs)