AlloViz.AlloViz.Analysis.analyze_graph#

AlloViz.AlloViz.Analysis.analyze_graph(args)[source]#

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

Analyze a stored, filtered raw data column with the passed combination of element-metric/NetworkX’ analysis function and return the results.

Parameters:
graphGraph object

Single column/graph object to analyze.

metricfstr

NetworkX function to analyze data. It must be written as if it were an absolute import (e.g., “networkx.algorithms.centrality.betweenness_centrality”).

colnamestr

Name of the analyzed column that it will have in the final DataFrame for saving.