MHCXGraph.utils.analysis.project_nodes_instances

MHCXGraph.utils.analysis.project_nodes_instances(frame_nodes: list[Any], p: int) list[str][source]

Project associated nodes onto the p-th protein.

Parameters:
  • frame_nodes (list) – List of associated graph nodes as tuples of residue labels.

  • p (int) – Index of the protein to project.

Returns:

Residue labels for protein p.

Return type:

list of str