public class PrecursorAccuracy extends Object
Constructor and Description |
---|
PrecursorAccuracy() |
Modifier and Type | Method and Description |
---|---|
static double |
getScore(Peptide peptide,
int identificationCharge,
Precursor precursor,
boolean ppm,
int minIsotope,
int maxIsotope)
Scores the match between the given peptide and spectrum using the
precursor m/z accuracy.
|
public static double getScore(Peptide peptide, int identificationCharge, Precursor precursor, boolean ppm, int minIsotope, int maxIsotope)
peptide
- the peptide of interestidentificationCharge
- the charge of the identificationprecursor
- the precursor of this peptideppm
- indicates whether the ms1 error is in ppmminIsotope
- the minimal isotopemaxIsotope
- the maximal isotopeCopyright © 2016. All rights reserved.