MHCXGraph.utils.tools.create_coherent_matrices¶
- MHCXGraph.utils.tools.create_coherent_matrices(nodes, matrices: dict, maps: dict, threshold: float | dict = 3.0)[source]¶
Compute coherence matrices across proteins using a memory-efficient streaming approach.
- Parameters:
- Returns:
new_matrices (dict) – Dictionary containing coherence masks and standard deviation matrices.
maps (dict) – Updated node mapping dictionary.