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 FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
 

Static Public Member Functions

static double getQscore (const PeakGroup *pg, bool is_profile=false, double cv=-1)
 get QScore for a peak group of specific abs_charge More...
 
static void writeAttCsvFromDummy (const DeconvolvedSpectrum &deconvolved_spectrum, std::fstream &f)
 
static void writeAttCsvFromDummyHeader (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_
 

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,
bool  is_profile = false,
double  cv = -1 
)
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

◆ writeAttCsvFromDummy()

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

◆ writeAttCsvFromDummyHeader()

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

Member Data Documentation

◆ weight_centroid_

std::vector<double> weight_centroid_
staticprivate

◆ weight_CV_

std::vector<double> weight_CV_
staticprivate

◆ weight_profile_

std::vector<double> weight_profile_
staticprivate