Class TargetDecoyResults
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
eu.isas.peptideshaker.scoring.targetdecoy.TargetDecoyResults
- All Implemented Interfaces:
Serializable
public class TargetDecoyResults
extends com.compomics.util.experiment.personalization.ExperimentObject
implements Serializable
This class will compile Target/decoy results of a certain target/decoy map
according to user's validation criteria
- Author:
- Marc Vaudel
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the confidence limit.doubleReturns the FDR limit.doubleReturns the FNR limit.intReturns the type of input.doubleReturns the score limit obtained with the current validation settings.doublegetN()Returns the number of retained hits.doublegetnFP()Returns the estimated number of false positives.doublegetnTP()Returns the estimated number of retained True positives.doubleReturns the estimated total number of True positives.doubleReturns the score limit obtained with the current validation settings.doubleReturns the user input.booleanReturns a boolean indicating that everything was validated.voidsetConfidenceLimit(double confidenceLimit) Sets the confidence limit.voidsetFdrLimit(double fdrLimit) Sets the FDR limit.voidsetFnrLimit(double fnrLimit) Sets the FNR limit.voidsetInputType(int inputType) Sets the type of input.voidsetn(double n) Sets the number of retained hits.voidsetnFP(double nFP) Sets the estimated number of false positives.voidsetNoValidated(boolean validateAll) Sets whether everything was validated.voidsetnTPTotal(double nTPTotal) Sets the estimated total number of True positives.voidsetScoreLimit(double scoreLimit) Sets the score limit obtained with the current validation settings.voidsetUserInput(double userInput) Sets the user input.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
TargetDecoyResults
public TargetDecoyResults()Constructor.
-
-
Method Details
-
getConfidenceLimit
public double getConfidenceLimit()Returns the confidence limit.- Returns:
- the confidence limit
-
setConfidenceLimit
public void setConfidenceLimit(double confidenceLimit) Sets the confidence limit.- Parameters:
confidenceLimit- the confidence limit
-
getFdrLimit
public double getFdrLimit()Returns the FDR limit.- Returns:
- the FDR limit
-
setFdrLimit
public void setFdrLimit(double fdrLimit) Sets the FDR limit.- Parameters:
fdrLimit- the FDR limit
-
getFnrLimit
public double getFnrLimit()Returns the FNR limit.- Returns:
- the FNR limit
-
setFnrLimit
public void setFnrLimit(double fnrLimit) Sets the FNR limit.- Parameters:
fnrLimit- the FNR limit
-
getnFP
public double getnFP()Returns the estimated number of false positives.- Returns:
- the estimated number of false positives
-
setnFP
public void setnFP(double nFP) Sets the estimated number of false positives.- Parameters:
nFP- the estimated number of false positives
-
getnTP
public double getnTP()Returns the estimated number of retained True positives.- Returns:
- the estimated number of retained True positives
-
setn
public void setn(double n) Sets the number of retained hits.- Parameters:
n- the estimated number of retained True positives
-
getnTPTotal
public double getnTPTotal()Returns the estimated total number of True positives.- Returns:
- the estimated total number of True positives
-
setnTPTotal
public void setnTPTotal(double nTPTotal) Sets the estimated total number of True positives.- Parameters:
nTPTotal- the estimated total number of True positives
-
getN
public double getN()Returns the number of retained hits.- Returns:
- the number of retained hits
-
getScoreLimit
public double getScoreLimit()Returns the score limit obtained with the current validation settings.- Returns:
- the score limit obtained with the current validation settings
-
getLogScoreLimit
public double getLogScoreLimit()Returns the score limit obtained with the current validation settings.- Returns:
- the score limit obtained with the current validation settings
-
setScoreLimit
public void setScoreLimit(double scoreLimit) Sets the score limit obtained with the current validation settings.- Parameters:
scoreLimit- the score limit obtained with the current validation settings
-
noValidated
public boolean noValidated()Returns a boolean indicating that everything was validated.- Returns:
- a boolean indicating that everything was validated
-
setNoValidated
public void setNoValidated(boolean validateAll) Sets whether everything was validated.- Parameters:
validateAll- a boolean indicating whether everything should be validated
-
getInputType
public int getInputType()Returns the type of input. 0 > confidence 1 > FDR 2 > FNR.- Returns:
- the type of input
-
setInputType
public void setInputType(int inputType) Sets the type of input.- Parameters:
inputType- the input type
-
getUserInput
public double getUserInput()Returns the user input.- Returns:
- the user input
-
setUserInput
public void setUserInput(double userInput) Sets the user input.- Parameters:
userInput- the user input
-