PLOTLYPeakMapPlot#

class pyopenms_viz._plotly.PLOTLYPeakMapPlot(data, x, y, z, zlabel=None, add_marginals=False, y_kind='spectrum', x_kind='chromatogram', annotation_data: DataFrame | None = None, annotation_x_lb: str = 'leftWidth', annotation_x_ub: str = 'rightWidth', annotation_y_lb: str = 'IM_leftWidth', annotation_y_ub: str = 'IM_rightWidth', annotation_colors: str = 'color', annotation_names: str = 'name', bin_peaks: Literal['auto'] | bool = 'auto', aggregation_method: Literal['mean', 'sum', 'max'] = 'mean', num_x_bins: int = 50, num_y_bins: int = 50, z_log_scale: bool = False, fill_by_z: bool = True, **kwargs)#

Bases: PLOTLY_MSPlot, PeakMapPlot

_add_box_boundaries(annotation_data, **kwargs)#

Prepare data for adding box boundaries to the plot.

Parameters:

annotation_data (DataFrame) – The feature data containing the box boundaries.

Returns:

None