contact_map.ResidueContactConcurrence¶
-
class
contact_map.
ResidueContactConcurrence
(trajectory, residue_contacts, cutoff=0.45, select="and symbol != 'H'")[source]¶ Contact concurrences for residue contacts.
Parameters: - trajectory (
mdtraj.Trajectory
) – the trajectory to analyze - residue_contacts (list) – output from
contact_map.residue_contacts.most_common()
- cutoff (float) – cutoff, in nm. Should be the same as used in the contact map.
- select (string) – additional atom selection string for MDTraj; defaults to “and symbol != ‘H’”
-
__init__
(trajectory, residue_contacts, cutoff=0.45, select="and symbol != 'H'")[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(trajectory, residue_contacts[, …])Initialize self. set_labels
(labels)Set the contact labels -
set_labels
(labels)¶ Set the contact labels
Parameters: labels (list of string) – labels for each contact pair
- trajectory (