MHCXGraph.utils.analysis.node_similarity_for_protein¶
- MHCXGraph.utils.analysis.node_similarity_for_protein(frame: dict[str, Any], original_graphs: dict[str, Any], protein_keys: list[str], p: int) dict[str, Any] | None[source]¶
Compute node coverage metrics for a single protein in one frame.
- Parameters:
- Returns:
Coverage metrics for this protein and frame, or None if there are no nodes.
- Return type:
dict or None