35 #ifndef OPENMS_ANALYSIS_XLMS_XQUESTSCORES_H 36 #define OPENMS_ANALYSIS_XLMS_XQUESTSCORES_H 61 static float preScore(
Size matched_alpha,
Size ions_alpha,
Size matched_beta,
Size ions_beta);
68 static float preScore(
Size matched_alpha,
Size ions_alpha);
79 static double matchOddsScore(
const PeakSpectrum& theoretical_spec,
const std::vector< std::pair< Size, Size > >& matched_spec,
double fragment_mass_tolerance,
bool fragment_mass_tolerance_unit_ppm,
bool is_xlink_spectrum,
Size n_charges = 1);
92 static double weightedTICScoreXQuest(
Size alpha_size,
Size beta_size,
double intsum_alpha,
double intsum_beta,
double total_current,
bool type_is_cross_link);
104 static double weightedTICScore(
Size alpha_size,
Size beta_size,
double intsum_alpha,
double intsum_beta,
double total_current,
bool type_is_cross_link);
113 static double matchedCurrentChain(
const std::vector< std::pair< Size, Size > >& matched_spec_common,
const std::vector< std::pair< Size, Size > >& matched_spec_xlinks,
const PeakSpectrum& spectrum_common_peaks,
const PeakSpectrum& spectrum_xlink_peaks);
124 static double totalMatchedCurrent(
const std::vector< std::pair< Size, Size > >& matched_spec_common_alpha,
const std::vector< std::pair< Size, Size > >& matched_spec_common_beta,
const std::vector< std::pair< Size, Size > >& matched_spec_xlinks_alpha,
const std::vector< std::pair< Size, Size > >& matched_spec_xlinks_beta,
const PeakSpectrum& spectrum_common_peaks,
const PeakSpectrum& spectrum_xlink_peaks);
139 #endif // XQUESTSCORES_H
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
An implementation of the scores for cross-link identification from the xQuest algorithm (O...
Definition: XQuestScores.h:50
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
int Int
Signed integer type.
Definition: Types.h:103