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)
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)
peptide
- the peptide of interestidentificationCharge
- the charge of the identificationprecursor
- the precursor of this peptideppm
- indicates whether the ms1 error is in ppmCopyright © 2015. All rights reserved.