A module to produce a contact map plot
ContactMapFigure
(hierarchy, other=None, reference=None, altloc=False, use_conf=False, lim=None, **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 | (ContactMap ) The default contact map hierarchy |
other | (ContactMap ) The second contact map hierarchy |
reference | (ContactMap ) 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
draw () |
|
redraw () |
|
savefig (filename[, dpi, overwrite]) |
hierarchy
¶lim
¶other
¶reference
¶