proteobench.modules.quant.quant_lfq_ion_DIA_singlecell module#

DIA Quantification Module for precursor level Quantification for single cell data.

class proteobench.modules.quant.quant_lfq_ion_DIA_singlecell.DIAQuantIonModulediaSC(token: str, proteobot_repo_name: str = 'Proteobot/Results_quant_ion_DIA_singlecell', proteobench_repo_name: str = 'Proteobench/Results_quant_ion_DIA_singlecell', branch: str | None = None)[source]#

Bases: QuantModule

DIA Quantification Module for precursor level Quantification for low input (single-cell) data.

Parameters:
  • token (str) – GitHub token for the user.

  • proteobot_repo_name (str, optional) – Name of the repository for pull requests and where new points are added, by default “Proteobot/Results_quant_ion_DIA_singlecell”.

  • proteobench_repo_name (str, optional) – Name of the repository where the benchmarking results will be stored, by default “Proteobench/Results_quant_ion_DIA_singlecell”.

module_id#

Module identifier for configuration.

Type:

str

precursor_name#

Level of quantification.

Type:

str

benchmarking(input_file: str, input_format: str, user_input: dict, all_datapoints: DataFrame | None, default_cutoff_min_prec: int = 3, input_file_secondary: str = None) Tuple[DataFrame, DataFrame, DataFrame][source]#

Main workflow of the module for benchmarking workflow results.

Parameters:
  • input_file (str) – Path to the workflow output file.

  • input_format (str) – Format of the workflow output file.

  • user_input (dict) – User-provided parameters for plotting.

  • all_datapoints (Optional[pd.DataFrame]) – DataFrame containing all data points from the repo.

  • default_cutoff_min_prec (int, optional) – Minimum number of runs a precursor ion must be identified in. Defaults to 3.

  • input_file_secondary (str, optional) – Path to a secondary input file (used for some formats like AlphaDIA).

Returns:

A tuple containing the intermediate data structure, all data points, and the input DataFrame.

Return type:

Tuple[DataFrame, DataFrame, DataFrame]

get_plot_generator()[source]#

Get the plot generator for LFQ Ion plots.

Returns:

The plot generator instance.

Return type:

PlotGeneratorBase

is_implemented() bool[source]#

Return whether the module is fully implemented.

Returns:

Whether the module is fully implemented.

Return type:

bool

module_id: str = 'quant_lfq_DIA_ion_singlecell'#