Class ValidationQcParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.parameters.identification.advanced.ValidationQcParameters
- All Implemented Interfaces:
Serializable
This class lists the criteria used for quality control of the validated
matches.
- Author:
- Marc Vaudel, Harald Barsnes
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a validation quality control preferences object with default settings.ValidationQcParameters(ValidationQcParameters validationQCPreferences) Creates a validation quality control preferences object based on an other ValidationQCPreferences. -
Method Summary
Modifier and TypeMethodDescriptionReturns the margin to the threshold to use as factor of the resolution.Returns the list of peptide quality filters.Returns the list of protein quality filters.Returns the list of PSM quality filters.Returns a short description of the parameters.booleanisDbSize()Indicates whether the database size should be checked.booleanIndicates whether the number of hits before the first decoy should be checked.booleanisSameAs(ValidationQcParameters validationQCPreferences) Returns true if the two ValidationQCPreferences are the same.voidsetConfidenceMargin(Double confidenceMargin) Sets the margin to the threshold to use as factor of the resolution.voidsetDbSize(boolean dbSize) Sets whether the database size should be checked.voidsetFirstDecoy(boolean firstDecoy) Sets whether the number of hits before the first decoy should be checked.voidsetPeptideFilters(ArrayList<Filter> peptideFilters) Sets the list of peptide quality filters.voidsetProteinFilters(ArrayList<Filter> proteinFilters) Sets the list of protein quality filters.voidsetPsmFilters(ArrayList<Filter> psmFilters) Sets the list of PSM quality filters.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
ValidationQcParameters
public ValidationQcParameters()Creates a validation quality control preferences object with default settings. -
ValidationQcParameters
Creates a validation quality control preferences object based on an other ValidationQCPreferences.- Parameters:
validationQCPreferences- an other ValidationQCPreferences
-
-
Method Details
-
isDbSize
public boolean isDbSize()Indicates whether the database size should be checked.- Returns:
- true if the database size should be checked
-
setDbSize
public void setDbSize(boolean dbSize) Sets whether the database size should be checked.- Parameters:
dbSize- a boolean indicating whether the database size should be checked
-
isFirstDecoy
public boolean isFirstDecoy()Indicates whether the number of hits before the first decoy should be checked.- Returns:
- true if the number of hits before the first decoy should be checked
-
setFirstDecoy
public void setFirstDecoy(boolean firstDecoy) Sets whether the number of hits before the first decoy should be checked.- Parameters:
firstDecoy- a boolean indicating whether the number of hits before the first decoy should be checked.
-
getConfidenceMargin
Returns the margin to the threshold to use as factor of the resolution. e.g. for a threshold of 10% and a resolution of 1%, with a factor of 1 the threshold will be 11%, with a factor of 2.5 the threshold will be 12.5%.- Returns:
- the margin to the threshold to use as factor of the resolution
-
setConfidenceMargin
Sets the margin to the threshold to use as factor of the resolution. e.g. for a threshold of 10% and a resolution of 1%, with a factor of 1 the threshold will be 11%, with a factor of 2.5 the threshold will be 12.5%.- Parameters:
confidenceMargin- the margin to the threshold to use as factor of the resolution
-
getPsmFilters
Returns the list of PSM quality filters.- Returns:
- the list of PSM quality filters
-
setPsmFilters
Sets the list of PSM quality filters.- Parameters:
psmFilters- the list of PSM quality filters
-
getPeptideFilters
Returns the list of peptide quality filters.- Returns:
- the list of peptide quality filters
-
setPeptideFilters
Sets the list of peptide quality filters.- Parameters:
peptideFilters- the list of peptide quality filters
-
getProteinFilters
Returns the list of protein quality filters.- Returns:
- the list of peptide quality filters
-
setProteinFilters
Sets the list of protein quality filters.- Parameters:
proteinFilters- the list of protein quality filters
-
isSameAs
Returns true if the two ValidationQCPreferences are the same.- Parameters:
validationQCPreferences- the ValidationQCPreferences to compare to- Returns:
- true if the two ValidationQCPreferences are the same
-
getShortDescription
Returns a short description of the parameters.- Returns:
- a short description of the parameters
-