public class PeptideMatch extends IdentificationMatch
IdentificationMatch.MatchType| Constructor and Description |
|---|
PeptideMatch()
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide,
String matchKey)
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide,
String spectrumMatchKey,
String matchKey)
Constructor for the peptide match.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSpectrumMatch(String spectrumMatchKey)
Add a spectrum match.
|
String |
getKey()
Returns the key of a match.
|
String |
getMainMatchKey()
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.
|
void |
setMainMatch(String spectrumMatchKey)
Sets the main match.
|
void |
setTheoreticPeptide(Peptide theoreticPeptide)
Setter for the theoretic peptide.
|
addUrParam, getParameterKey, getUrParampublic PeptideMatch()
public PeptideMatch(Peptide peptide, String matchKey)
peptide - the matching peptidematchKey - the key of the match as referenced in the identification.public String getKey()
IdentificationMatchgetKey in class IdentificationMatchpublic 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 IdentificationMatch.MatchType getType()
IdentificationMatchgetType in class IdentificationMatchCopyright © 2014. All rights reserved.