17 class IsobaricQuantitationMethod;
18 class IsobaricQuantifierStatistics;
20 class ConsensusFeature;
145 std::vector<double>& b,
146 std::vector<double>& x);
161 const std::vector<double>& x_naive,
162 const float cf_intensity,
179 const std::vector<double>& x_naive,
180 const float cf_intensity,
199 const std::vector<double>& m_x);
A consensus feature spanning multiple LC-MS/MS experiments.
Definition ConsensusFeature.h:45
A container for consensus elements.
Definition ConsensusMap.h:68
Performs isotope impurity correction on intensities extracted from isobaric labeling experiments.
Definition IsobaricIsotopeCorrector.h:43
static void solveNNLS_(Matrix< double > &correction_matrix, std::vector< double > &b, std::vector< double > &x)
Solve the non-negative least squares problem using Matrix and vectors.
static float updateOutputMap_(const ConsensusMap &consensus_map_in, ConsensusMap &consensus_map_out, Size current_cf, const std::vector< double > &m_x)
Update the output consensus map with corrected intensities using std::vector.
static float updateOutputMap_(const ConsensusMap &consensus_map_in, ConsensusMap &consensus_map_out, Size current_cf, const Matrix< double > &m_x)
Update the output consensus map with corrected intensities using OpenMS Matrix.
static void fillInputVector_(std::vector< double > &b, Matrix< double > &m_b, const ConsensusFeature &cf, const ConsensusMap &cm)
Fills the input vector for the NNLS step given the ConsensusFeature.
static void computeStats_(const Matrix< double > &m_x, const std::vector< double > &x_naive, const float cf_intensity, const IsobaricQuantitationMethod *quant_method, IsobaricQuantifierStatistics &stats)
Compute statistics for the correction process using OpenMS matrices.
static IsobaricQuantifierStatistics correctIsotopicImpurities(const ConsensusMap &consensus_map_in, ConsensusMap &consensus_map_out, const IsobaricQuantitationMethod *quant_method)
Apply isotope correction to the given input map and store the corrected values in the output map.
static std::vector< double > getIntensities_(const IsobaricQuantitationMethod *quant_method, const ConsensusFeature &cf, const ConsensusMap &cm)
Extract channel intensities from a ConsensusFeature.
static void correctIsotopicImpurities(std::vector< double > &intensities, const IsobaricQuantitationMethod *quant_method)
Apply isotope correction to a vector of channel intensities.
static void solveNNLS_(const Matrix< double > &correction_matrix, const Matrix< double > &m_b, Matrix< double > &m_x)
Solve the non-negative least squares problem using OpenMS matrices.
static void computeStats_(const std::vector< double > &m_x, const std::vector< double > &x_naive, const float cf_intensity, const IsobaricQuantitationMethod *quant_method, IsobaricQuantifierStatistics &stats)
Compute statistics for the correction process.
Statistics for quantitation performance and comparison of NNLS vs. naive method (aka matrix inversion...
Definition IsobaricQuantifierStatistics.h:23
Abstract base class describing an isobaric quantitation method in terms of the used channels and an i...
Definition IsobaricQuantitationMethod.h:32
A 2D matrix class with efficient buffer access for NumPy interoperability.
Definition Matrix.h:35
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19