# conkit.plot.precisionevaluation module¶

A module to produce a precision evaluation plot

class PrecisionEvaluationFigure(hierarchy, min_cutoff=0.0, max_cutoff=100.0, cutoff_step=0.2, **kwargs)[source]

A Figure object specifically for a Precision evaluation.

This figure will illustrate the precision scores of a contact map at different precision scores. These can be determined at various start and end points with different stepwise increases in between.

hierarchy

ContactMap – The contact map hierarchy

cutoff_step

float – The cutoff step

min_cutoff

float – The minimum cutoff factor

max_cutoff

float – The maximum cutoff factor

Examples

>>> import conkit
>>> cmap.match(pdb, inplace=True)
>>> conkit.plot.PrecisionEvaluationFigure(cmap)

cutoff_step

The cutoff step

draw()[source]
hierarchy

A ConKit ContactMap

max_cutoff

The maximum cutoff factor

Raises: ValueError – The maximum cutoff value is smaller than the the minimum
min_cutoff

The minimum cutoff factor

Raises: ValueError – The minimum cutoff value is larger than or equal to the maximum
redraw(*args, **kwargs)