conkit.plot.distogramheatmap module

A module to produce a distogram heatmap plot

class DistogramHeatmapFigure(*args, **kwargs)[source]

Bases: conkit.plot.contactmapmatrix.ContactMapMatrixFigure

A Figure object specifically for a Distogram

This figure will illustrate the predicted residues distances in a distogram. If two instances of Distogram are used, then each half square of the heatmap corresponds with the distances at each instance

hierarchy

The default distogram hierarchy

Type:Distogram
other

The second distogram hierarchy

Type:Distogram
altloc

Use the res_altloc positions [default: False]

Type:bool

Examples

>>> import conkit
>>> distogram = conkit.io.read('toxd/toxd.npz', 'rosettanpz').top_map
>>> sequence  = conkit.io.read('toxd/toxd.fasta', 'fasta').top
>>> distogram.sequence = sequence
>>> distogram.set_sequence_register()
>>> conkit.plot.DistogramHeatmapFigure(distogram)
draw()[source]
hierarchy
other