ChromatogramPlot#

class pyopenms_viz._core.ChromatogramPlot(data, x, y, annotation_data: DataFrame | None = None, relative_intensity=False, **kwargs)#

Bases: BaseMSPlot, ABC

__init__(data, x, y, annotation_data: DataFrame | None = None, relative_intensity=False, **kwargs) None#
_add_peak_boundaries(annotation_data)#

Prepare data for adding peak boundaries to the plot. This is not a complete method should be overridden by subclasses.

Parameters:

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

Returns:

None

property _kind#

The kind of plot to assemble. Must be overridden by subclasses.

compute_apex_intensity(annotation_data)#

Compute the apex intensity of the peak group based on the peak boundaries

plot(data, x, y, **kwargs)#

Create the plot