MHCXGraph.utils.analysis.summarize_frame_nodes

MHCXGraph.utils.analysis.summarize_frame_nodes(df_fp_nodes_for_frame: pandas.DataFrame) dict[str, Any][source]

Compute weighted summaries for node coverage across proteins in a frame.

Parameters:

df_fp_nodes_for_frame (pandas.DataFrame) – Per protein node coverage for one frame.

Returns:

Summary statistics including weighted mean, median and dispersion.

Return type:

dict