public class AAIntensityRankScore extends Object
Modifier and Type | Field and Description |
---|---|
int |
nBins
The number of bins for the spectrum intensities.
|
Constructor and Description |
---|
AAIntensityRankScore() |
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 the
intensity rank of the matched peaks.
|
public final int nBins
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 © 2018. All rights reserved.