public class ProcessingPreferences extends Object implements Serializable
| Constructor and Description |
|---|
ProcessingPreferences()
Constructor with default settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
estimateAScore(boolean shouldEstimateAScore)
Deprecated.
use the PTM scoring preferences instead
|
double |
getPeptideFDR()
Returns the initial peptide FDR.
|
Double |
getProteinConfidenceMwPlots()
Returns the minimum confidence required for a protein to be included in
the average molecular weight analysis in the Fractions tab.
|
double |
getProteinFDR()
Returns the initial protein FDR.
|
double |
getPsmFDR()
Returns the initial PSM FDR.
|
ArrayList<Integer> |
getScores(int advocateIndex)
Returns the scores used for a given advocate.
|
void |
initializeAlgorithmScores()
Sets the default score selection for the implemented advocates.
|
boolean |
isAScoreCalculated()
Deprecated.
use the PTM scoring preferences instead
|
boolean |
isScoringNeeded(ArrayList<Integer> advocates)
Indicates whether a score computation is needed for the given advocates.
|
boolean |
isScoringNeeded(int advocate)
Indicates whether a score computation is needed for the given advocate.
|
boolean |
isTargetDecoyNeededForPsmScoring(ArrayList<Integer> advocates)
Indicates whether target decoy databases are needed for PSM scoring.
|
void |
setPeptideFDR(double peptideFDR)
Sets the initial peptide FDR.
|
void |
setProteinConfidenceMwPlots(Double proteinConfidenceMwPlots)
Sets the minimum confidence required for a protein to be included in the
average molecular weight analysis in the Fractions tab.
|
void |
setProteinFDR(double proteinFDR)
Sets the initial protein FDR.
|
void |
setPsmFDR(double psmFDR)
Sets the initial PSM FDR.
|
void |
setScoresForAlgorithm(int advocateIndex,
ArrayList<Integer> scores)
Sets the scores to use for a given advocate.
|
public ProcessingPreferences()
public boolean isAScoreCalculated()
public void estimateAScore(boolean shouldEstimateAScore)
shouldEstimateAScore - whether the A-score should be calculatedpublic double getPeptideFDR()
public void setPeptideFDR(double peptideFDR)
peptideFDR - the initial peptide FDRpublic double getProteinFDR()
public void setProteinFDR(double proteinFDR)
proteinFDR - the initial protein FDRpublic double getPsmFDR()
public void setPsmFDR(double psmFDR)
psmFDR - the initial PSM FDRpublic Double getProteinConfidenceMwPlots()
public void setProteinConfidenceMwPlots(Double proteinConfidenceMwPlots)
proteinConfidenceMwPlots - minimum confidencepublic void initializeAlgorithmScores()
public void setScoresForAlgorithm(int advocateIndex,
ArrayList<Integer> scores)
advocateIndex - the index of the advocatescores - the scorespublic ArrayList<Integer> getScores(int advocateIndex)
advocateIndex - the index of the advocatepublic boolean isScoringNeeded(int advocate)
advocate - the index of the advocate of interestpublic boolean isScoringNeeded(ArrayList<Integer> advocates)
advocates - the advocates of interestCopyright © 2014. All rights reserved.