Class ScalingFactorsEstimators
java.lang.Object
com.compomics.util.experiment.quantification.spectrumcounting.ScalingFactorsEstimators
public class ScalingFactorsEstimators extends Object
This class estimates spectrum counting scaling factors.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description ScalingFactorsEstimators()
Empty default constructorScalingFactorsEstimators(SpectrumCountingParameters spectrumCountingParameters)
Constructor. -
Method Summary
Modifier and Type Method Description void
estimateScalingFactors(Identification identification, Metrics metrics, SequenceProvider sequenceProvider, IdentificationFeaturesGenerator identificationFeaturesGenerator, WaitingHandler waitingHandler, ExceptionHandler exceptionHandler, ProcessingParameters processingParameters)
Estimates the scaling factors and stores them in the given metrics.
-
Constructor Details
-
ScalingFactorsEstimators
public ScalingFactorsEstimators()Empty default constructor -
ScalingFactorsEstimators
Constructor.- Parameters:
spectrumCountingParameters
- the spectrum counting parameters
-
-
Method Details
-
estimateScalingFactors
public void estimateScalingFactors(Identification identification, Metrics metrics, SequenceProvider sequenceProvider, IdentificationFeaturesGenerator identificationFeaturesGenerator, WaitingHandler waitingHandler, ExceptionHandler exceptionHandler, ProcessingParameters processingParameters) throws InterruptedException, TimeoutExceptionEstimates the scaling factors and stores them in the given metrics.- Parameters:
identification
- the identificationmetrics
- the metrics where to save the resultssequenceProvider
- a sequence provideridentificationFeaturesGenerator
- the identification features generatorwaitingHandler
- a waiting handlerexceptionHandler
- an exception handlerprocessingParameters
- the processing parameters- Throws:
InterruptedException
- exception thrown if a thread gets interruptedTimeoutException
- exception thrown if the operation times out
-