public class ComplementarityScore extends Object
Constructor and Description |
---|
ComplementarityScore() |
Modifier and Type | Method and Description |
---|---|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
AnnotationPreferences annotationPreferences,
SpecificAnnotationPreferences specificAnnotationPreferences)
Scores the match between the given peptide and spectrum using the
complementarity of the matched peaks.
|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
AnnotationPreferences annotationPreferences,
SpecificAnnotationPreferences specificAnnotationPreferences,
PeptideSpectrumAnnotator peptideSpectrumAnnotator)
Scores the match between the given peptide and spectrum using the
complementarity of the matched peaks.
|
public static double getScore(Peptide peptide, MSnSpectrum spectrum, AnnotationPreferences annotationPreferences, SpecificAnnotationPreferences 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, AnnotationPreferences annotationPreferences, SpecificAnnotationPreferences 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 © 2015. All rights reserved.