ParquetWriter
- class pyprophet.io.scoring.parquet.ParquetWriter(config: RunnerIOConfig)[source]
Bases:
BaseParquetWriterClass for writing OpenSWATH results to a Parquet file.
- 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’), or context level used peptide/protein/gene inference (e.g., ‘global’, ‘experiment-wide’, ‘run-specific’).
- 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.