59 static std::vector<Size> calculateIntensityRankInMZWindow(
const std::vector<double>& mz,
const std::vector<double>& intensities,
double mz_window);
70 static std::vector<std::vector<Size> > calculateRankMap(
const PeakMap& peak_map,
double mz_window = 100);
77 static std::map<Size, PeakSpectrum > calculatePeakLevelSpectra(
const PeakSpectrum& spec,
const std::vector<Size>& ranks,
Size min_level = 1,
Size max_level = 9);
88 static double computePScore(
double fragment_mass_tolerance,
bool fragment_mass_tolerance_unit_ppm,
const std::map<Size, PeakSpectrum>& peak_level_spectra,
const std::vector<PeakSpectrum>& theo_spectra,
double mz_window = 100.0);
97 static double computePScore(
double fragment_mass_tolerance,
bool fragment_mass_tolerance_unit_ppm,
const std::map<Size, PeakSpectrum>& peak_level_spectra,
const PeakSpectrum& theo_spectrum,
double mz_window = 100.0);
101 static double massCorrectionTerm(
double mass);
105 static double cleavageCorrectionTerm(
Size cleavages,
bool consecutive_cleavage);
109 static double modificationCorrectionTerm(
Size modifications);
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
Implementation of the PScore PSM scoring algorithm.
Definition: PScore.h:49
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127