|
||||||||||
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.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
Constructor Summary | |
---|---|
PeptideMatch()
constructor for the peptide match |
|
PeptideMatch(Peptide peptide)
Constructor for the peptide match |
|
PeptideMatch(Peptide peptide,
SpectrumMatch spectrumMatch)
Constructor for the peptide match |
Method Summary | |
---|---|
void |
addSpectrumMatch(SpectrumMatch spectrumMatch)
add a spectrum match |
void |
addSpectrumMatches(HashMap<String,SpectrumMatch> newMatches)
add spectrum matches |
String |
getKey()
Convenience method to index peptideMatches on the peptide id |
SpectrumMatch |
getMainMatch()
method returns the main match |
String |
getMainSpectrumKey()
methods which returns the key of the main spectrum matched |
int |
getSpectrumCount()
returns the number of spectra matched |
HashMap<String,SpectrumMatch> |
getSpectrumMatches()
returns all spectra matched |
Peptide |
getTheoreticPeptide()
getter for the theoretic peptide |
boolean |
isDecoy()
inspects whether the peptide match is a decoy hit |
void |
setMainMatch(SpectrumMatch spectrumMatch)
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, 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, SpectrumMatch spectrumMatch)
peptide
- The matching peptidespectrumMatch
- The main spectrum matchMethod Detail |
---|
public String getKey()
public Peptide getTheoreticPeptide()
public void setTheoreticPeptide(Peptide theoreticPeptide)
theoreticPeptide
- a theoretic peptidepublic SpectrumMatch getMainMatch()
public void setMainMatch(SpectrumMatch spectrumMatch)
spectrumMatch
- the main matchpublic String getMainSpectrumKey()
public HashMap<String,SpectrumMatch> getSpectrumMatches()
public void addSpectrumMatch(SpectrumMatch spectrumMatch)
spectrumMatch
- a spectrum matchpublic void addSpectrumMatches(HashMap<String,SpectrumMatch> newMatches)
newMatches
- matched spectrapublic int getSpectrumCount()
public boolean isDecoy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |