conkit.plot.contactmapmatrix module

A module to produce a contact map plot

class ContactMapMatrixFigure(hierarchy, other=None, altloc=False, lim=None, **kwargs)[source]

Bases: conkit.plot.figure.Figure

A Figure object specifically for a ContactMap

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.

hierarchy

The default contact map hierarchy

Type:ContactMap
other

The second contact map hierarchy

Type:ContactMap
altloc

Use the res_altloc positions [default: False]

Type:bool

Examples

>>> import conkit
>>> cmap = conkit.io.read('toxd/toxd.mat', 'ccmpred').top_map
>>> conkit.plot.ContactMapMatrixFigure(cmap)
define_axis_settings(data_1, data_2)[source]
draw()[source]
hierarchy
lim
other