OpenMS
Qvalue Class Reference

Qvalue : contains functions to calculate Qvalues from deconvolution quality score. More...

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

Public Types

typedef FLASHDeconvHelperStructs::LogMzPeak LogMzPeak
 

Static Public Member Functions

static void updatePeakGroupQvalues (std::vector< DeconvolvedSpectrum > &deconvolved_spectra)
 

Static Private Member Functions

static uint getBinNumber (double qscore, uint total_bin_number)
 get a bin number given qvalue. qvalue is calculated per bin (bin from 0 to 1). More...
 
static std::vector< double > getDistribution (const std::vector< double > &qscores, uint bin_number)
 get the setQscore distribution More...
 
static std::vector< double > getDistributionWeights (const std::vector< double > &mixed_dist, const std::vector< std::vector< double >> &comp_dists, uint num_iterations=100)
 get the weights of different dummy types. More...
 

Detailed Description

Qvalue : contains functions to calculate Qvalues from deconvolution quality score.

Member Typedef Documentation

◆ LogMzPeak

Member Function Documentation

◆ getBinNumber()

static uint getBinNumber ( double  qscore,
uint  total_bin_number 
)
staticprivate

get a bin number given qvalue. qvalue is calculated per bin (bin from 0 to 1).

◆ getDistribution()

static std::vector<double> getDistribution ( const std::vector< double > &  qscores,
uint  bin_number 
)
staticprivate

get the setQscore distribution

◆ getDistributionWeights()

static std::vector<double> getDistributionWeights ( const std::vector< double > &  mixed_dist,
const std::vector< std::vector< double >> &  comp_dists,
uint  num_iterations = 100 
)
staticprivate

get the weights of different dummy types.

◆ updatePeakGroupQvalues()

static void updatePeakGroupQvalues ( std::vector< DeconvolvedSpectrum > &  deconvolved_spectra)
static

Calculate and perform a batch update of peak group qvalues using Qscores of target and dummy peak groups in deconvolved spectra, when FDR report is necessary.

Parameters
deconvolved_spectratarget and decoy deconvolved spectra