Class Normalizer
java.lang.Object
eu.isas.reporter.calculation.normalization.Normalizer
Normalizes the ratios according to the NormalizationSettings.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetPeptideNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) Sets the peptide normalization factors in the ReporterIonQuantification object.voidsetProteinNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.identification.peptide_shaker.Metrics metrics, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) Sets the protein normalization factors in the ReporterIonQuantification object.voidsetPsmNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) Sets the PSM normalization factors in the ReporterIonQuantification object.
-
Constructor Details
-
Normalizer
public Normalizer()
-
-
Method Details
-
setPsmNormalizationFactors
public void setPsmNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) throws SQLException, IOException, ClassNotFoundException, InterruptedException Sets the PSM normalization factors in the ReporterIonQuantification object.- Parameters:
reporterIonQuantification- the reporter ion quantificationratioEstimationSettings- the ratio estimation settingsnormalizationSettings- the normalization settingssequenceMatchingParameters- the peptide to protein sequence matching preferencesidentification- the identificationspectrumProvider- the spectrum providerquantificationFeaturesGenerator- the quantification features generatorprocessingParameters- the processing preferencessearchParameters- the search parametersfastaParameters- the FASTA parameterspeptideVariantsPreferences- the peptide variants parametersexceptionHandler- handler in case exception occurwaitingHandler- waiting handler displaying progress to the user- Throws:
SQLException- exception thrown whenever an error occurred while interacting with the databaseIOException- exception thrown whenever an error occurred while interacting with a fileClassNotFoundException- exception thrown whenever an error occurred while deserializing an objectInterruptedException- exception thrown whenever a threading error occurred
-
setPeptideNormalizationFactors
public void setPeptideNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) throws SQLException, IOException, ClassNotFoundException, InterruptedException Sets the peptide normalization factors in the ReporterIonQuantification object.- Parameters:
reporterIonQuantification- the reporter ion quantificationratioEstimationSettings- the ratio estimation settingsnormalizationSettings- the normalization settingssequenceMatchingParameters- the peptide to protein sequence matching preferencesidentification- the identificationspectrumProvider- the spectrum providerquantificationFeaturesGenerator- the quantification features generatorprocessingParameters- the processing preferencessearchParameters- the search parametersfastaParameters- the FASTA parameterspeptideVariantsPreferences- the peptide variants parametersexceptionHandler- handler in case exception occurwaitingHandler- waiting handler displaying progress to the user- Throws:
SQLException- exception thrown whenever an error occurred while interacting with the databaseIOException- exception thrown whenever an error occurred while interacting with a fileClassNotFoundException- exception thrown whenever an error occurred while deserializing an objectInterruptedException- exception thrown whenever a threading error occurred
-
setProteinNormalizationFactors
public void setProteinNormalizationFactors(com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, RatioEstimationSettings ratioEstimationSettings, NormalizationSettings normalizationSettings, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.identification.peptide_shaker.Metrics metrics, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.parameters.tools.ProcessingParameters processingParameters, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.parameters.identification.advanced.PeptideVariantsParameters peptideVariantsPreferences, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, com.compomics.util.waiting.WaitingHandler waitingHandler) throws SQLException, IOException, ClassNotFoundException, InterruptedException Sets the protein normalization factors in the ReporterIonQuantification object.- Parameters:
reporterIonQuantification- the reporter ion quantificationratioEstimationSettings- the ratio estimation settingsnormalizationSettings- the normalization settingsidentification- the identificationspectrumProvider- the spectrum providermetrics- the identification metricsquantificationFeaturesGenerator- the quantification features generatorprocessingParameters- the processing parameterssearchParameters- the search parametersfastaParameters- the FASTA parameterspeptideVariantsPreferences- the peptide variants parametersexceptionHandler- handler in case exception occurwaitingHandler- waiting handler displaying progress to the user- Throws:
SQLException- exception thrown whenever an error occurred while interacting with the databaseIOException- exception thrown whenever an error occurred while interacting with a fileClassNotFoundException- exception thrown whenever an error occurred while deserializing an objectInterruptedException- exception thrown whenever a threading error occurred
-