public abstract class SpectrumIdentificationAssumption extends ExperimentObject
Modifier and Type | Field and Description |
---|---|
protected int |
advocate
The advocate supporting this assumption.
|
protected Charge |
identificationCharge
The charge used for identification.
|
protected String |
identificationFile
The identification file.
|
protected int |
rank
The rank of the peptide assumption for the concerned spectrum.
|
protected double |
score
The (advocate specific) score used to rank this assumption.
|
Constructor and Description |
---|
SpectrumIdentificationAssumption() |
Modifier and Type | Method and Description |
---|---|
int |
getAdvocate()
Get the used advocate.
|
double |
getDeltaMass(double measuredMZ,
boolean ppm)
Returns the precursor mass error (in ppm or Da).
|
double |
getDeltaMass(double measuredMZ,
boolean ppm,
boolean subtractIsotope)
Returns the precursor mass error (in ppm or Da).
|
Charge |
getIdentificationCharge()
Returns the charge used for identification.
|
String |
getIdentificationFile()
Returns the identification file.
|
int |
getIsotopeNumber(double measuredMZ)
Returns the precursor isotope number according to the number of protons.
|
IonMatch |
getPrecursorMatch(Peak precursorPeak)
Returns the ion match.
|
int |
getRank()
Get the identification rank.
|
double |
getScore()
Returns the score assigned by the advocate.
|
abstract double |
getTheoreticMass()
Returns the theoretic mass of the given assumption.
|
double |
getTheoreticMz()
Returns the theoretic m/z.
|
void |
setIdentificationCharge(Charge identificationCharge)
Sets the identification charge.
|
void |
setRank(int aRank)
Set the rank of the PeptideAssumption.
|
addUrParam, getParameterKey, getUrParam
protected int rank
protected int advocate
protected Charge identificationCharge
protected double score
protected String identificationFile
public int getRank()
public void setRank(int aRank)
aRank
- the rank of the PeptideAssumptiopublic int getAdvocate()
public double getScore()
public String getIdentificationFile()
public Charge getIdentificationCharge()
public void setIdentificationCharge(Charge identificationCharge)
identificationCharge
- the identification chargepublic abstract double getTheoreticMass()
public double getTheoreticMz()
public double getDeltaMass(double measuredMZ, boolean ppm, boolean subtractIsotope)
measuredMZ
- the precursor m/zppm
- if true the error is returns in ppm, false returns the error
in DasubtractIsotope
- if true the isotope number will be subtracted from
the theoretic masspublic double getDeltaMass(double measuredMZ, boolean ppm)
measuredMZ
- the precursor m/zppm
- if true the error is returns in ppm, false returns the error
in Dapublic int getIsotopeNumber(double measuredMZ)
measuredMZ
- Copyright © 2014. All rights reserved.