proteobench.plotting.plot_generator_lfq_lowinput module#

Plot generator for the low-input LFQ HYE (Human-Yeast-Ecoli) quantification modules.

Low-input modules use the same HYE benchmark sample as the regular ion modules, so every plot is inherited from LFQHYEPlotGenerator. What distinguishes them is which comparison plot they put in front of the user: at low sample input the differences between tools concentrate at the low-abundance end, so the question is not only how accurate a workflow is overall, but over which part of the dynamic range it stays accurate. These modules therefore add the accuracy-vs-abundance plot to the workflow comparison tab.

class proteobench.plotting.plot_generator_lfq_lowinput.LFQLowInputPlotGenerator(y_axis_title: str = 'Total number of features quantified in the selected number of raw files')[source]#

Bases: LFQHYEPlotGenerator

Plot generator for the low-input LFQ HYE quantification modules.

Identical to LFQHYEPlotGenerator except that it adds the inherited plot_accuracy_vs_abundance figure to the workflow comparison tab.

generate_comparison_plots(intermediates: Dict[str, DataFrame], precursor_column_name: str = 'precursor ion', **kwargs) → Dict[str, Figure][source]#

Generate the cross-workflow comparison plots of the low-input modules.

Parameters:
  • intermediates (Dict[str, pd.DataFrame]) – Mapping of workflow label (e.g. a ProteoBench ID) to that workflow’s intermediate DataFrame, as produced by QuantScoresHYE.generate_intermediate.

  • precursor_column_name (str, optional) – Name of the precursor identifier column shared across workflows.

  • **kwargs (dict) – Additional parameters forwarded to plot_accuracy_vs_abundance.

Returns:

Dictionary with the accuracy_vs_abundance figure.

Return type:

Dict[str, go.Figure]

get_comparison_plot_descriptions() → Dict[str, str][source]#

Get descriptions for each comparison tab.

Returns:

The inherited descriptions plus the one for the accuracy-vs-abundance plot.

Return type:

Dict[str, str]

get_comparison_plot_layout() → List[dict][source]#

Define the comparison tabs of the low-input modules.

Returns:

The tabs every module shows, followed by the accuracy-vs-abundance plot.

Return type:

List[dict]