public class ComplementarityScore extends Object
Constructor and Description |
---|
ComplementarityScore() |
Modifier and Type | Method and Description |
---|---|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
HashMap<Ion.IonType,HashSet<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int identificationCharge,
double mzTolerance)
Scores the match between the given peptide and spectrum using the
complementarity of the matched peaks.
|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
HashMap<Ion.IonType,HashSet<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int identificationCharge,
double mzTolerance,
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, HashMap<Ion.IonType,HashSet<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int identificationCharge, double mzTolerance)
peptide
- the peptide of interestspectrum
- the spectrum of interestiontypes
- the fragment ions to annotateneutralLosses
- the neutral losses to annotatecharges
- the fragment charges to look foridentificationCharge
- the precursor chargemzTolerance
- the ms2 m/z tolerancepublic static double getScore(Peptide peptide, MSnSpectrum spectrum, HashMap<Ion.IonType,HashSet<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int identificationCharge, double mzTolerance, PeptideSpectrumAnnotator peptideSpectrumAnnotator)
peptide
- the peptide of interestspectrum
- the spectrum of interestiontypes
- the fragment ions to annotateneutralLosses
- the neutral losses to annotatecharges
- the fragment charges to look foridentificationCharge
- the precursor chargemzTolerance
- the ms2 m/z tolerancepeptideSpectrumAnnotator
- an external annotator (if null an
internal will be used)Copyright © 2015. All rights reserved.