CycloBranch
|
The thread for comparison of a theoretical spectrum with a peak list (MS2 level). More...
Go to the source code of this file.
Classes | |
class | cSpectrumComparatorThreadMS2 |
The class representing a thread for comparison of a theoretical spectrum with a peak list (MS2 level). More... | |
Functions | |
bool | comparePaths (vector< nodeEdge > &a, vector< nodeEdge > &b) |
Compare two paths of a peptide sequence candidate as a string. More... | |
bool | compareBandAllIonsDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (number of b-ions and all ions secondly). More... | |
bool | compareYBandAllIonsDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (number of b-ions + y-ions and all ions as a secondary score). More... | |
bool | compareYandAllIonsDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (number of y-ions and all ions as a secondary score). More... | |
bool | compareSumOfRelIntDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (sum of relative intensities of matched peaks). More... | |
bool | compareNumberOfMatchedPeaksDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (number of matched peaks). More... | |
bool | compareWeightedRatioDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (weighted ratio of matched peaks). More... | |
bool | compareCosineSimilarityDesc (const cTheoreticalSpectrum &a, const cTheoreticalSpectrum &b) |
Compare scores of two theoretical spectra (cosine similarity). More... | |
The thread for comparison of a theoretical spectrum with a peak list (MS2 level).
bool compareBandAllIonsDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (number of b-ions and all ions secondly).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
bool compareCosineSimilarityDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (cosine similarity).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
bool compareNumberOfMatchedPeaksDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (number of matched peaks).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
Compare two paths of a peptide sequence candidate as a string.
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the path of a is smaller than the path of b |
bool compareSumOfRelIntDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (sum of relative intensities of matched peaks).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
bool compareWeightedRatioDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (weighted ratio of matched peaks).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
bool compareYandAllIonsDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (number of y-ions and all ions as a secondary score).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |
bool compareYBandAllIonsDesc | ( | const cTheoreticalSpectrum & | a, |
const cTheoreticalSpectrum & | b | ||
) |
Compare scores of two theoretical spectra (number of b-ions + y-ions and all ions as a secondary score).
a | first theoretical spectrum |
b | second theoretical spectrum |
bool | true if the score of a is greater than the score of b |