public class MS2MzFidelityScore extends Object
Constructor and Description |
---|
MS2MzFidelityScore() |
Modifier and Type | Method and Description |
---|---|
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 double getScore(Peptide peptide, MSnSpectrum spectrum, AnnotationSettings annotationPreferences, SpecificAnnotationSettings specificAnnotationPreferences, PeptideSpectrumAnnotator peptideSpectrumAnnotator) throws InterruptedException, org.apache.commons.math.MathException
peptide
- the peptide of interestspectrum
- the spectrum of interestannotationPreferences
- the general spectrum annotation preferencesspecificAnnotationPreferences
- the annotation preferences specific
to this psmpeptideSpectrumAnnotator
- the spectrum annotator to useInterruptedException
- exception thrown if the thread is
interruptedorg.apache.commons.math.MathException
- exception thrown if a math exception occurred when estimating the noise levelCopyright © 2019. All rights reserved.