OpenMS
Loading...
Searching...
No Matches
OpenSwathMatrixExporter Class Reference

Build and write OpenSWATH quantification matrices. More...

#include <OpenMS/ANALYSIS/OPENSWATH/OpenSwathMatrixExporter.h>

Static Public Member Functions

static OpenSwathQuantMatrix buildMatrix (const std::vector< OpenSwathExportRow > &rows, const OpenSwathMatrixExportConfig &config)
 Build a matrix from filtered export rows.
 
static void writeMatrix (const std::string &filename, const OpenSwathQuantMatrix &matrix, const OpenSwathMatrixExportConfig &config)
 Write a previously built matrix to TSV or Parquet.
 

Detailed Description

Build and write OpenSWATH quantification matrices.

Matrix construction follows the same high-level PyProphet logic: select the best peakgroup per run / precursor first, then summarize to precursor, peptide, protein, or gene level.

Member Function Documentation

◆ buildMatrix()

static OpenSwathQuantMatrix buildMatrix ( const std::vector< OpenSwathExportRow > &  rows,
const OpenSwathMatrixExportConfig config 
)
static

Build a matrix from filtered export rows.

◆ writeMatrix()

static void writeMatrix ( const std::string &  filename,
const OpenSwathQuantMatrix matrix,
const OpenSwathMatrixExportConfig config 
)
static

Write a previously built matrix to TSV or Parquet.