OpenMS
Qscore Class Reference

setQscore : quality score for PeakGroup. This class is being updated. For now, simply it calculate the setQscore using a fixed weight vector. The weight vector has been determined by logistic regression. But afterwards, the training part for the setQscore should be added in here. Or other technique such as deep learning would be used. This class also contains tsv output function. The tsv file contains features of PeakGroups which are used for training. More...

#include <OpenMS/ANALYSIS/TOPDOWN/Qscore.h>

Collaboration diagram for Qscore:
[legend]

Public Types

typedef FLASHHelperClasses::LogMzPeak LogMzPeak
 

Static Public Member Functions

static double getQscore (const PeakGroup *pg, const MSSpectrum &spectrum)
 get QScore for a peak group of specific abs_charge More...
 
static void writeAttCsvForQscoreTraining (const DeconvolvedSpectrum &deconvolved_spectrum, std::fstream &f)
 
static void writeAttCsvForQscoreTrainingHeader (std::fstream &f)
 

Static Private Member Functions

static std::vector< double > toFeatureVector_ (const PeakGroup *pg)
 convert a peak group to a feature vector for setQscore calculation More...
 

Static Private Attributes

static std::vector< double > weight_centroid_
 
static std::vector< double > weight_profile_
 
static std::vector< double > weight_CV_0_
 
static std::vector< double > weight_CV_40_
 
static std::vector< double > weight_CV_50_
 
static std::vector< double > weight_CV_60_
 

Detailed Description

setQscore : quality score for PeakGroup. This class is being updated. For now, simply it calculate the setQscore using a fixed weight vector. The weight vector has been determined by logistic regression. But afterwards, the training part for the setQscore should be added in here. Or other technique such as deep learning would be used. This class also contains tsv output function. The tsv file contains features of PeakGroups which are used for training.

Member Typedef Documentation

◆ LogMzPeak

Member Function Documentation

◆ getQscore()

static double getQscore ( const PeakGroup pg,
const MSSpectrum spectrum 
)
static

get QScore for a peak group of specific abs_charge

◆ toFeatureVector_()

static std::vector<double> toFeatureVector_ ( const PeakGroup pg)
staticprivate

convert a peak group to a feature vector for setQscore calculation

◆ writeAttCsvForQscoreTraining()

static void writeAttCsvForQscoreTraining ( const DeconvolvedSpectrum deconvolved_spectrum,
std::fstream &  f 
)
static

Referenced by TOPPFLASHDeconv::main_().

◆ writeAttCsvForQscoreTrainingHeader()

static void writeAttCsvForQscoreTrainingHeader ( std::fstream &  f)
static

Referenced by TOPPFLASHDeconv::main_().

Member Data Documentation

◆ weight_centroid_

std::vector<double> weight_centroid_
staticprivate

◆ weight_CV_0_

std::vector<double> weight_CV_0_
staticprivate

◆ weight_CV_40_

std::vector<double> weight_CV_40_
staticprivate

◆ weight_CV_50_

std::vector<double> weight_CV_50_
staticprivate

◆ weight_CV_60_

std::vector<double> weight_CV_60_
staticprivate

◆ weight_profile_

std::vector<double> weight_profile_
staticprivate