PLOTLYSpectrumPlot#
- class pyopenms_viz._plotly.PLOTLYSpectrumPlot(data, **kwargs)#
Bases:
PLOTLY_MSPlot
,SpectrumPlot
- _prepare_data(df, label_suffix=' (ref)')#
Prepare data for plotting based on configuration (relative intensity, bin peaks)
- Parameters:
df (DataFrame) – The data to prepare.
label_suffix (str, optional) – The suffix to add to the label. Defaults to “”, Only for plotly backend
- Returns:
The prepared data.
- Return type:
DataFrame