|
||||||||||
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.
Created by IntelliJ IDEA. User: Marc Date: Jun 18, 2010 Time: 8:58:46 AM
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,
String spectrumMatchKey)
Constructor for the peptide match |
Method Summary | |
---|---|
void |
addSpectrumMatch(String spectrumMatchKey)
add a spectrum match |
String |
getKey()
returns the key of a match |
String |
getMainMatchKey()
method returns the key of the main match |
int |
getSpectrumCount()
returns the number of spectra matched |
ArrayList<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(String spectrumMatchKey)
methods 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, String spectrumMatchKey)
peptide
- The matching peptidespectrumMatchKey
- The key of the main spectrum matchMethod Detail |
---|
public String getKey()
IdentificationMatch
getKey
in class IdentificationMatch
public Peptide getTheoreticPeptide()
public void setTheoreticPeptide(Peptide theoreticPeptide)
theoreticPeptide
- a theoretic peptidepublic String getMainMatchKey()
public void setMainMatch(String spectrumMatchKey)
spectrumMatchKey
- the key of the main matchpublic ArrayList<String> getSpectrumMatches()
public void addSpectrumMatch(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 |