public abstract class SpectrumIdentificationAssumption extends ExperimentObject
Modifier and Type | Field and Description |
---|---|
protected int |
advocate
The advocate supporting this assumption.
|
protected ArrayList<double[]> |
aminoAcidScores
The individual amino acid scores.
|
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 |
rawScore
The raw score as provided by the identification algorithm.
|
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.
|
ArrayList<double[]> |
getAminoAcidScores()
Returns the amino acid scores.
|
Double |
getDeltaMass(double measuredMZ,
boolean ppm,
int minIsotope,
int maxIsotope)
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,
int minIsotope,
int maxIsotope)
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 |
getRawScore()
Returns the raw score as provided by the identification algorithm.
|
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 |
setAminoAcidScores(ArrayList<double[]> aminoAcidScores)
Set the amino acid scores.
|
void |
setIdentificationCharge(Charge identificationCharge)
Sets the identification charge.
|
void |
setRank(int aRank)
Set the rank of the PeptideAssumption.
|
void |
setRawScore(Double rawScore)
Sets the raw score as provided by the identification algorithm.
|
void |
setScore(double score)
Sets the score.
|
addUrParam, getParameterKey, getUrParam
protected int rank
protected int advocate
protected Charge identificationCharge
protected Double score
protected String identificationFile
protected Double rawScore
protected ArrayList<double[]> aminoAcidScores
public int getRank()
public void setRank(int aRank)
aRank
- the rank of the PeptideAssumptiopublic int getAdvocate()
public Double getScore()
public void setScore(double score)
score
- the scorepublic 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, int minIsotope, int maxIsotope)
measuredMZ
- the precursor m/zppm
- if true the error is returns in ppm, false returns the error
in DaminIsotope
- the minimal isotopemaxIsotope
- the maximal isotopepublic int getIsotopeNumber(double measuredMZ, int minIsotope, int maxIsotope)
measuredMZ
- the measured m/z valueminIsotope
- the minimal isotopemaxIsotope
- the maximal isotopepublic IonMatch getPrecursorMatch(Peak precursorPeak)
precursorPeak
- the precursor peakpublic Double getRawScore()
public void setRawScore(Double rawScore)
rawScore
- the raw score as provided by the identification algorithmpublic ArrayList<double[]> getAminoAcidScores()
public void setAminoAcidScores(ArrayList<double[]> aminoAcidScores)
aminoAcidScores
- the amino acid scoresCopyright © 2016. All rights reserved.