|
SpectraSTSimilarityScore & | operator= (const SpectraSTSimilarityScore &source) |
| assignment operator More...
|
|
double | operator() (const PeakSpectrum &spec1, const PeakSpectrum &spec2) const override |
| : calculates the dot product of the two spectra More...
|
|
double | operator() (const BinnedSpectrum &bin1, const BinnedSpectrum &bin2) const |
| : calculates the dot product of the two spectra More...
|
|
double | operator() (const PeakSpectrum &spec) const override |
| : calculates the dot product of itself More...
|
|
bool | preprocess (PeakSpectrum &spec, float remove_peak_intensity_threshold=2.01, UInt cut_peaks_below=1000, Size min_peak_number=5, Size max_peak_number=150) |
| Preprocesses the spectrum. More...
|
|
BinnedSpectrum | transform (const PeakSpectrum &spec) |
| spectrum is transformed into a binned spectrum with bin size 1 and spread 1 and the intensities are normalized. More...
|
|
double | dot_bias (const BinnedSpectrum &bin1, const BinnedSpectrum &bin2, double dot_product=-1) const |
| Calculates how much of the dot product is dominated by a few peaks. More...
|
|
double | delta_D (double top_hit, double runner_up) |
| calculates the normalized distance between top_hit and runner_up. More...
|
|
double | compute_F (double dot_product, double delta_D, double dot_bias) |
| : computes the overall all score More...
|
|
|
| SpectraSTSimilarityScore () |
| default constructor More...
|
|
| SpectraSTSimilarityScore (const SpectraSTSimilarityScore &source) |
| copy constructor More...
|
|
| ~SpectraSTSimilarityScore () override |
| destructor More...
|
|
| PeakSpectrumCompareFunctor () |
| default constructor More...
|
|
| PeakSpectrumCompareFunctor (const PeakSpectrumCompareFunctor &source) |
| copy constructor More...
|
|
| ~PeakSpectrumCompareFunctor () override |
| destructor More...
|
|
PeakSpectrumCompareFunctor & | operator= (const PeakSpectrumCompareFunctor &source) |
| assignment operator More...
|
|
Public Member Functions inherited from DefaultParamHandler |
| DefaultParamHandler (const String &name) |
| Constructor with name that is displayed in error messages. More...
|
|
| DefaultParamHandler (const DefaultParamHandler &rhs) |
| Copy constructor. More...
|
|
virtual | ~DefaultParamHandler () |
| Destructor. More...
|
|
virtual DefaultParamHandler & | operator= (const DefaultParamHandler &rhs) |
| Assignment operator. More...
|
|
virtual bool | operator== (const DefaultParamHandler &rhs) const |
| Equality operator. More...
|
|
void | setParameters (const Param ¶m) |
| Sets the parameters. More...
|
|
const Param & | getParameters () const |
| Non-mutable access to the parameters. More...
|
|
const Param & | getDefaults () const |
| Non-mutable access to the default parameters. More...
|
|
const String & | getName () const |
| Non-mutable access to the name. More...
|
|
void | setName (const String &name) |
| Mutable access to the name. More...
|
|
const std::vector< String > & | getSubsections () const |
| Non-mutable access to the registered subsections. More...
|
|
Similarity score of SpectraST.
Unlike the other similarity scores this score is used for matching a spectrum against a whole library, although the dot product seems to be an effective method for scoring on its own. For calculating the SpectraST score, first preprocess the spectra if not already done. Transform them and calculate the dot product and the dot bias. Afterwards get the best two hits and calculate delta_D. Now for every spectrum from the library you can calculate the final score.
The details of the score can be found in: H. Lam et al., Development and validation of a spectral library searching method for peptide identification from MS/MS, Proteomics, 7 , 655-667, 2007