PeakCallerSort#

class PeakCallerSort(shape, num_peaks=1000, min_distance=1, min_boundary_distance=0, min_score=None, max_score=None, batch_dims=None, shm_handler=None, **kwargs)[source]#

Bases: PeakCaller

A PeakCaller subclass that first selects num_peaks highest scores.

Attributes

PeakCallerSort.shareable

Indicate whether the analyzer can be shared across processes.

Methods

PeakCallerSort.__call__(state, scores, ...)

Update the internal parameter store based on input array.

PeakCallerSort.call_peaks(scores, **kwargs)

Call peaks in the score space.

PeakCallerSort.init_state()

Initialize the analyzer state.

PeakCallerSort.merge([results])

Merge multiple instances of PeakCaller.

PeakCallerSort.oversample_peaks(scores, ...)

Refines peaks positions in the corresponding score space.

PeakCallerSort.result(state[, fast_shape, ...])

Finalize the analysis result with optional postprocessing.