PeakCallerFast#

class PeakCallerFast(number_of_peaks=1000, min_distance=1, min_boundary_distance=0, batch_dims=None, minimum_score=None, maximum_score=None, **kwargs)[source]#

Bases: PeakCaller

Subdivides the score space into squares with edge length min_distance and determiens maximum value for each. In a second pass, all local maxima that are not the local maxima in a min_distance square centered around them are removed.

Methods

PeakCallerFast.call_peaks(scores, **kwargs)

Call peaks in the score space.

PeakCallerFast.merge([candidates])

Merge multiple instances of PeakCaller.

PeakCallerFast.oversample_peaks(scores, ...)

Refines peaks positions in the corresponding score space.