A module to produce a contact map plot
ContactMapMatrixFigure
(hierarchy, other=None, altloc=False, lim=None, **kwargs)[source]¶Bases: conkit.plot.figure.Figure
A Figure object specifically for a Contact Map Matrix
This figure will illustrate the contacts in a contact map matrix. 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.ContactMapMatrixFigure(cmap)
Attributes
hierarchy | (ContactMap ) The default contact map hierarchy |
other | (ContactMap ) The second contact map hierarchy |
altloc | (bool) Use the res_altloc positions [default: False] |
Methods
draw () |
|
savefig (filename[, dpi, overwrite]) |
hierarchy
¶lim
¶other
¶