BOKEHSpectrumPlot#
- class pyopenms_viz._bokeh.BOKEHSpectrumPlot(data: ~pandas.core.frame.DataFrame, x: str, y: str, reference_spectrum: ~pandas.core.frame.DataFrame | None = None, mirror_spectrum: bool = False, relative_intensity: bool = False, bin_peaks: ~typing.Literal['auto'] | bool = False, bin_method: ~typing.Literal['none', 'sturges', 'freedman-diaconis', 'mz-tol-bin'] = 'mz-tol-bin', num_x_bins: int = 50, mz_tol: ~typing.Literal[<class 'float'>, 'freedman-diaconis', '1pct-diff'] = '1pct-diff', aggregation_method: ~typing.Literal['mean', 'sum', 'max'] = 'max', peak_color: str | None = None, annotate_top_n_peaks: int | None | ~typing.Literal['all'] = 5, annotate_mz: bool = True, ion_annotation: str | None = None, sequence_annotation: str | None = None, custom_annotation: str | None = None, annotation_color: str | None = None, **kwargs)#
Bases:
BOKEH_MSPlot
,SpectrumPlot
Class for assembling a Bokeh spectrum plot