|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.identification.IdentificationMatch
com.compomics.util.experiment.identification.matches.PeptideMatch
public class PeptideMatch
This class models a peptide match.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.compomics.util.experiment.identification.IdentificationMatch |
---|
IdentificationMatch.MatchType |
Constructor Summary | |
---|---|
PeptideMatch()
Constructor for the peptide match. |
|
PeptideMatch(Peptide peptide)
Constructor for the peptide match. |
|
PeptideMatch(Peptide peptide,
java.lang.String spectrumMatchKey)
Constructor for the peptide match. |
Method Summary | |
---|---|
void |
addSpectrumMatch(java.lang.String spectrumMatchKey)
Add a spectrum match. |
java.lang.String |
getKey()
returns the key of a match. |
java.lang.String |
getMainMatchKey()
Returns the key of the main match. |
int |
getSpectrumCount()
Returns the number of spectra matched. |
java.util.ArrayList<java.lang.String> |
getSpectrumMatches()
Returns all spectra matched. |
Peptide |
getTheoreticPeptide()
Getter for the theoretic peptide. |
IdentificationMatch.MatchType |
getType()
Returns the type of match. |
boolean |
isDecoy()
Inspects whether the peptide match is a decoy hit. |
void |
setMainMatch(java.lang.String spectrumMatchKey)
Sets the main match. |
void |
setTheoreticPeptide(Peptide theoreticPeptide)
Setter for the theoretic peptide. |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PeptideMatch()
public PeptideMatch(Peptide peptide)
peptide
- the matching peptidepublic PeptideMatch(Peptide peptide, java.lang.String spectrumMatchKey)
peptide
- The matching peptidespectrumMatchKey
- The key of the main spectrum matchMethod Detail |
---|
public java.lang.String getKey()
IdentificationMatch
getKey
in class IdentificationMatch
public Peptide getTheoreticPeptide()
public void setTheoreticPeptide(Peptide theoreticPeptide)
theoreticPeptide
- a theoretic peptidepublic java.lang.String getMainMatchKey()
public void setMainMatch(java.lang.String spectrumMatchKey)
spectrumMatchKey
- the key of the main matchpublic java.util.ArrayList<java.lang.String> getSpectrumMatches()
public void addSpectrumMatch(java.lang.String spectrumMatchKey)
spectrumMatchKey
- a spectrum matchpublic int getSpectrumCount()
public boolean isDecoy()
public IdentificationMatch.MatchType getType()
IdentificationMatch
getType
in class IdentificationMatch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |