public class MDScore
extends java.lang.Object
| Constructor and Description |
|---|
MDScore() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Double |
getMDScore(SpectrumMatch spectrumMatch,
java.util.ArrayList<java.lang.String> ptms,
AminoAcidPattern.MatchingType matchingType,
java.lang.Double massTolerance)
Returns the MD score for the best peptide in a spectrum match (the best
peptide has to be set before).
|
static java.lang.Double |
getMDScore(SpectrumMatch spectrumMatch,
Peptide peptideCandidate,
java.util.ArrayList<java.lang.String> ptms,
AminoAcidPattern.MatchingType matchingType,
java.lang.Double massTolerance)
Returns the MD score for the given peptide in a spectrum match.
|
public static java.lang.Double getMDScore(SpectrumMatch spectrumMatch, java.util.ArrayList<java.lang.String> ptms, AminoAcidPattern.MatchingType matchingType, java.lang.Double massTolerance)
spectrumMatch - the spectrum match of interestptms - the names of the PTMs to scorematchingType - the amino acid matching typemassTolerance - the mass tolerance for matching type
'indistiguishibleAminoAcids'. Can be null otherwisepublic static java.lang.Double getMDScore(SpectrumMatch spectrumMatch, Peptide peptideCandidate, java.util.ArrayList<java.lang.String> ptms, AminoAcidPattern.MatchingType matchingType, java.lang.Double massTolerance)
peptideCandidate - the peptide of interestspectrumMatch - the spectrum match of interestptms - the names of the PTMs to scorematchingType - the amino acid matching typemassTolerance - the mass tolerance for matching type
'indistiguishibleAminoAcids'. Can be null otherwiseCopyright © 2014. All Rights Reserved.