A module to produce a contact map plot
ContactMapFigure
(hierarchy, other=None, reference=None, altloc=False, use_conf=False, **kwargs)[source]¶Bases: conkit.plot._Figure.Figure
A Figure object specifically for a Contact Map
This figure will illustrate the contacts in a contact map. This plot is a very common representation of contacts. With this figure, you can illustrate either your contact map by itself, compared against a second contact map, and/or matched against contacts extracted from a contact map.
Examples
>>> import conkit
>>> cmap = conkit.io.read('toxd/toxd.mat', 'ccmpred').top_map
>>> conkit.plot.ContactMapFigure(cmap)
Attributes
hierarchy |
The default contact map hierarchy |
other |
The second contact map hierarchy |
reference |
The reference contact map hierarchy |
altloc | (bool) Use the res_altloc positions [default: False] |
use_conf | (bool) The marker size will correspond to the raw score [default: False] |
Methods
redraw () |
Re-draw the plot with updated parameters |
hierarchy
¶The default contact map hierarchy
other
¶The second contact map hierarchy
reference
¶The reference contact map hierarchy