OpenMS
Loading...
Searching...
No Matches
OpenSwathMatrixExporter.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Justin Sing $
6// $Authors: Justin Sing $
7// --------------------------------------------------------------------------
8
9#pragma once
10
13#include <OpenMS/config.h>
14
15#include <vector>
16
17namespace OpenMS
18{
28 class OPENMS_DLLAPI OpenSwathMatrixExporter
29 {
30 public:
32 static OpenSwathQuantMatrix buildMatrix(const std::vector<OpenSwathExportRow>& rows,
33 const OpenSwathMatrixExportConfig& config);
34
36 static void writeMatrix(const std::string& filename,
37 const OpenSwathQuantMatrix& matrix,
38 const OpenSwathMatrixExportConfig& config);
39 };
40} // namespace OpenMS
Build and write OpenSWATH quantification matrices.
Definition OpenSwathMatrixExporter.h:29
static void writeMatrix(const std::string &filename, const OpenSwathQuantMatrix &matrix, const OpenSwathMatrixExportConfig &config)
Write a previously built matrix to TSV or Parquet.
static OpenSwathQuantMatrix buildMatrix(const std::vector< OpenSwathExportRow > &rows, const OpenSwathMatrixExportConfig &config)
Build a matrix from filtered export rows.
Configuration for matrix exports.
Definition OpenSwathExportConfig.h:64
Dense matrix representation used by matrix exports.
Definition OpenSwathExportData.h:346
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19