correct_peak: correct peak sd and mean

View source: R/peak_sd_intensity_corrections.R

correct_peakR Documentation

correct peak sd and mean

Description

Assuming that an observed mean (intensity) and sd are from a truncated normal distribution that is truncated on one side only.

Usage

correct_peak(observed_mean, observed_sd, n_observed, n_should_observe)

Arguments

observed_mean

the observed mean

observed_sd

the observed sd

n_observed

how many observations went into this mean

n_should_observe

how many observations should there have been?

Value

data.frame, with corrected mean and sd

References

https://en.wikipedia.org/wiki/Truncated_normal_distribution

See Also

correct_mean correct_variance


MoseleyBioinformaticsLab/FTMS.peakCharacterization documentation built on April 27, 2022, 3:32 a.m.