Class PeptideAssumption
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.identification.SpectrumIdentificationAssumption
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption
- All Implemented Interfaces:
Serializable
This object models the assumption made by an advocate.
- Author:
- Marc Vaudel, Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.identification.SpectrumIdentificationAssumption
advocate, aminoAcidScores, identificationCharge, identificationFile, rank, rawScore, scoreFields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the purpose of instantiation.PeptideAssumption(Peptide peptide, int identificationCharge) Constructor for a simple peptide assumption containing only the information necessary for spectrum annotation.PeptideAssumption(Peptide peptide, int rank, int advocate, int identificationCharge, double rawScore, double score) Constructor for a peptide assumption.PeptideAssumption(Peptide peptide, int rank, int advocate, int identificationCharge, double rawScore, double score, String identificationFile) Constructor for a peptide assumption. -
Method Summary
Modifier and TypeMethodDescriptionGet the theoretic peptide.doubleReturns the theoretic mass of the given assumption.voidsetPeptide(Peptide peptide) Returns the peptides.Methods inherited from class com.compomics.util.experiment.identification.SpectrumIdentificationAssumption
getAdvocate, getAminoAcidScores, getDeltaMz, getIdentificationCharge, getIdentificationFile, getIsotopeNumber, getPrecursorMatch, getRank, getRawScore, getScore, getTheoreticMz, setAdvocate, setAminoAcidScores, setIdentificationCharge, setIdentificationFile, setRank, setRawScore, setScoreMethods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
PeptideAssumption
public PeptideAssumption()Default constructor for the purpose of instantiation. -
PeptideAssumption
public PeptideAssumption(Peptide peptide, int rank, int advocate, int identificationCharge, double rawScore, double score, String identificationFile) Constructor for a peptide assumption.- Parameters:
peptide- the theoretic peptiderank- the identification rankadvocate- the advocate usedidentificationCharge- the charge used by the search engine for identificationrawScore- the raw score, i.e. the untransformed score given by the search enginescore- the (potentially transformed) score, typically a search engine e-value (whether the score is ascending or descending can be known from the SearchEngine class)identificationFile- the identification file
-
PeptideAssumption
public PeptideAssumption(Peptide peptide, int rank, int advocate, int identificationCharge, double rawScore, double score) Constructor for a peptide assumption.- Parameters:
peptide- the theoretic peptiderank- the identification rankadvocate- the advocate usedidentificationCharge- the charge used by the search engine for identificationrawScore- the raw score, i.e. the untransformed score given by the search enginescore- the (potentially transformed) score, typically a search engine e-value (whether the score is ascending or descending can be known from the SearchEngine class)
-
PeptideAssumption
Constructor for a simple peptide assumption containing only the information necessary for spectrum annotation.- Parameters:
peptide- the theoretic peptideidentificationCharge- the charge used by the search engine for identification
-
-
Method Details
-
getPeptide
Get the theoretic peptide.- Returns:
- the peptide
-
setPeptide
Returns the peptides.- Parameters:
peptide- the peptide
-
getTheoreticMass
public double getTheoreticMass()Description copied from class:SpectrumIdentificationAssumptionReturns the theoretic mass of the given assumption.- Specified by:
getTheoreticMassin classSpectrumIdentificationAssumption- Returns:
- the theoretic mass of the given assumption
-