public class PrecursorAccuracy extends Object
Constructor and Description |
---|
PrecursorAccuracy()
Empty default constructor
|
Modifier and Type | Method and Description |
---|---|
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 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 © 2021. All rights reserved.