Class SimpleNoiseDistribution

java.lang.Object
com.compomics.util.experiment.mass_spectrometry.SimpleNoiseDistribution

public class SimpleNoiseDistribution
extends Object
This class makes a simple modeling of the noise using a normal distribution on the log of the peak intensities and returns the associated binned cumulative probability for a given intensity.
Author:
Marc Vaudel
  • Constructor Details

  • Method Details

    • getBinnedCumulativeProbability

      public double getBinnedCumulativeProbability​(double intensity)
      Get the binned cumulative probability.
      Parameters:
      intensity - the intensity
      Returns:
      the binned cumulative probability
    • getBinnedCumulativeProbabilityLog

      public double getBinnedCumulativeProbabilityLog​(double intensity)
      Get the binned logged cumulative probability.
      Parameters:
      intensity - the intensity
      Returns:
      the binned cumulative logged probability
    • getLogIntensityAtP

      public double getLogIntensityAtP​(double p)
      Returns the log10 intensity at a given upper tail cumulative probability.
      Parameters:
      p - the probability
      Returns:
      the log10 intensity
    • getIntensityAtP

      public double getIntensityAtP​(double p)
      Returns the intensity at a given upper tail cumulative probability.
      Parameters:
      p - the probability
      Returns:
      the intensity