public class PTMScoringPreferences extends Object implements Serializable
Constructor and Description |
---|
PTMScoringPreferences()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(PTMScoringPreferences otherPtmScoringPreferences)
Returns true if the objects have identical settings.
|
double |
getFlrThreshold()
Returns the FLR threshold.
|
double |
getProbabilisticScoreThreshold()
Returns the probabilistic score threshold.
|
PtmScore |
getSelectedProbabilisticScore()
Returns the selected probabilistic score.
|
SequenceMatchingPreferences |
getSequenceMatchingPreferences()
Returns the sequence matching preferences to use when mapping PTMs on
amino acid sequences.
|
String |
getShortDescription()
Returns a short description of the parameters.
|
boolean |
isEstimateFlr()
Indicates whether the threshold is FLR based.
|
Boolean |
isProbabilisticScoreNeutralLosses()
Indicates whether the neutral losses shall be taken into account for
spectrum annotation when calculating the probabilistic score.
|
Boolean |
isProbabilitsticScoreCalculation()
Indicates whether a probabilistic PTM score is required.
|
void |
setEstimateFlr(boolean estimateFlr)
Sets whether the threshold is FLR based.
|
void |
setFlrThreshold(double flr)
Sets the FLR threshold.
|
void |
setProbabilisticScoreNeutralLosses(boolean probabilisticScoreNeutralLosses)
Sets whether the neutral losses shall be taken into account for spectrum
annotation when calculating the probabilistic score.
|
void |
setProbabilisticScoreThreshold(double probabilisticScoreThreshold)
Sets the probabilistic score threshold.
|
void |
setProbabilitsticScoreCalculation(boolean probabilitsticScoreCalculation)
Sets whether a probabilistic PTM score is required.
|
void |
setSelectedProbabilisticScore(PtmScore selectedProbabilisticScore)
Sets the selected probabilistic score.
|
void |
setSequenceMatchingPreferences(SequenceMatchingPreferences sequenceMatchingPreferences)
Sets the sequence matching preferences to use when mapping PTMs on amino
acid sequences.
|
public Boolean isProbabilitsticScoreCalculation()
public void setProbabilitsticScoreCalculation(boolean probabilitsticScoreCalculation)
probabilitsticScoreCalculation
- a boolean indicating whether a
probabilistic PTM score is requiredpublic PtmScore getSelectedProbabilisticScore()
public void setSelectedProbabilisticScore(PtmScore selectedProbabilisticScore)
selectedProbabilisticScore
- the selected probabilistic scorepublic boolean isEstimateFlr()
public void setEstimateFlr(boolean estimateFlr)
estimateFlr
- indicates whether the threshold is FLR basedpublic double getProbabilisticScoreThreshold()
public void setProbabilisticScoreThreshold(double probabilisticScoreThreshold)
probabilisticScoreThreshold
- the probabilistic score thresholdpublic Boolean isProbabilisticScoreNeutralLosses()
public void setProbabilisticScoreNeutralLosses(boolean probabilisticScoreNeutralLosses)
probabilisticScoreNeutralLosses
- indicates whether the neutral
losses shall be taken into account for spectrum annotation when
calculating the probabilistic scorepublic SequenceMatchingPreferences getSequenceMatchingPreferences()
public void setSequenceMatchingPreferences(SequenceMatchingPreferences sequenceMatchingPreferences)
sequenceMatchingPreferences
- the sequence matching preferences to
use when mapping PTMs on amino acid sequencespublic double getFlrThreshold()
public void setFlrThreshold(double flr)
flr
- the FLR thresholdpublic String getShortDescription()
public boolean equals(PTMScoringPreferences otherPtmScoringPreferences)
otherPtmScoringPreferences
- the PTMScoringPreferences to compare toCopyright © 2016. All rights reserved.