53 static const int charge_count_for_DL_scoring_ = 11;
54 static const int iso_count_for_DL_scoring_ = 13;
A class representing a deconvolved spectrum. DeconvolvedSpectrum consists of PeakGroup instances repr...
Definition: DeconvolvedSpectrum.h:30
log transformed peak. After deconvolution, all necessary information from deconvolution such as charg...
Definition: FLASHHelperClasses.h:187
Averagine patterns pre-calculated for speed up. Other variables are also calculated for fast cosine c...
Definition: FLASHHelperClasses.h:39
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
scoring functions for PeakGroup. For now, only Qscore has been implemented. For Qscore,...
Definition: PeakGroupScoring.h:30
static std::vector< double > toFeatureVector_(const PeakGroup *pg)
convert a peak group to a feature vector for setQscore calculation
static void writeAttCsvForQscoreTrainingHeader(std::fstream &f)
Write Csv file for Qscore training header.
static std::vector< double > weight_
the weights for Qscore calculation
Definition: PeakGroupScoring.h:50
static void writeAttCsvForQscoreTraining(const DeconvolvedSpectrum &deconvolved_spectrum, std::fstream &f)
Write Csv file for Qscore training.
static double getDLscore(PeakGroup *pg, const MSSpectrum &spec, const FLASHHelperClasses::PrecalculatedAveragine &avg, double tol)
get Deep learning based peak group score. Not implemented yet.
FLASHHelperClasses::LogMzPeak LogMzPeak
Definition: PeakGroupScoring.h:32
static double getQscore(const PeakGroup *pg)
get QScore for a peak group of specific abs_charge
Class describing a deconvolved mass. A mass contains multiple (LogMz) peaks of different charges and ...
Definition: PeakGroup.h:26
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19