OpenMS  3.0.0
QScore Class Reference

QScore : quality score for PeakGroup. This class is being updated. For now, simply it calculate the QScore using a fixed weight vector. The weight vector has been determined by logistic regression. But afterwards, the training part for the QScore 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>

Public Types

typedef FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
 

Static Public Member Functions

static double getQScore (const PeakGroup *pg, const int abs_charge)
 get QScore for a peak group of specific abs_charge More...
 
static void writeAttTsv (const DeconvolvedSpectrum &deconvolved_spectrum, const FLASHDeconvHelperStructs::TopPicItem &top_id, const FLASHDeconvHelperStructs::PrecalculatedAveragine &avg, std::fstream &f, bool write_detail=false)
 function to generate attribute tsv file for weka interface More...
 
static void writeAttHeader (std::fstream &f, bool write_detail=false)
 write header for attirbute tsv file More...
 

Static Private Member Functions

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

Detailed Description

QScore : quality score for PeakGroup. This class is being updated. For now, simply it calculate the QScore using a fixed weight vector. The weight vector has been determined by logistic regression. But afterwards, the training part for the QScore 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 int  abs_charge 
)
static

get QScore for a peak group of specific abs_charge

◆ toFeatureVector_()

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

convert a peak group to a feature vector for QScore calculation

◆ writeAttHeader()

static void writeAttHeader ( std::fstream &  f,
bool  write_detail = false 
)
static

write header for attirbute tsv file

Referenced by TOPPFLASHDeconv::main_().

◆ writeAttTsv()

static void writeAttTsv ( const DeconvolvedSpectrum deconvolved_spectrum,
const FLASHDeconvHelperStructs::TopPicItem top_id,
const FLASHDeconvHelperStructs::PrecalculatedAveragine avg,
std::fstream &  f,
bool  write_detail = false 
)
static

function to generate attribute tsv file for weka interface

Referenced by TOPPFLASHDeconv::main_().