public class MS2MzFidelityScore extends Object
Constructor and Description |
---|
MS2MzFidelityScore() |
Modifier and Type | Method and Description |
---|---|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
AnnotationSettings annotationPreferences,
SpecificAnnotationSettings specificAnnotationPreferences)
Scores the match between the given peptide and spectrum using an m/z
fidelity score.
|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
AnnotationSettings annotationPreferences,
SpecificAnnotationSettings specificAnnotationPreferences,
PeptideSpectrumAnnotator peptideSpectrumAnnotator)
Scores the match between the given peptide and spectrum using an m/z
fidelity score.
|
public static double getScore(Peptide peptide, MSnSpectrum spectrum, AnnotationSettings annotationPreferences, SpecificAnnotationSettings specificAnnotationPreferences)
peptide
- the peptide of interestspectrum
- the spectrum of interestannotationPreferences
- the general spectrum annotation preferencesspecificAnnotationPreferences
- the annotation preferences specific
to this psmpublic static double getScore(Peptide peptide, MSnSpectrum spectrum, AnnotationSettings annotationPreferences, SpecificAnnotationSettings specificAnnotationPreferences, PeptideSpectrumAnnotator peptideSpectrumAnnotator)
peptide
- the peptide of interestspectrum
- the spectrum of interestannotationPreferences
- the general spectrum annotation preferencesspecificAnnotationPreferences
- the annotation preferences specific
to this psmpeptideSpectrumAnnotator
- an external annotator (if null an
internal will be used)Copyright © 2016. All rights reserved.