TSVWriter

class pyprophet.io.scoring.tsv.TSVWriter(config: RunnerIOConfig)[source]

Bases: BaseWriter

Class for writing OpenSWATH results to a tsv format.

infile

Input file path.

Type:

str

outfile

Output file path.

Type:

str

classifier

Classifier used for semi-supervised learning.

Type:

str

level

Level used in semi-supervised learning (e.g., ‘ms1’, ‘ms2’, ‘ms1ms2’, ‘transition’, ‘alignment’).

Type:

str

glyco

Flag indicating whether analysis is glycoform-specific.

Type:

bool

save_results(result, pi0)[source]

Save the results to the output file based on the module using this class.

save_weights(weights)

Save the weights to the output file.

__init__(config: RunnerIOConfig)[source]

Initialize the writer with a given configuration.

Parameters:

config (BaseIOConfig) – Configuration object containing output details.

save_results(result, pi0)[source]

Save the results of the scoring process to specified paths including summary statistics, final statistics, scored tables, and a report. The report includes various statistics such as cutoffs, svalues, qvalues, pvalues, and additional parameters like pi0 and color palette.