Convert a peptide string to a named variable
spectrum_noise.Rdspectrum_noise() Generates a named variable
Usage
spectrum_noise(
  df = NULL,
  n_peaks = 300,
  noise_mean = NULL,
  noise_quantile = 0.25,
  noise_sd = 0.75
)Arguments
- df
 a data frame
- n_peaks
 total number of peaks, including noise, the spectrum should have
- noise_mean
 the level at which to inject noise, left NULL the Nth quantile will be used
- noise_quantile
 the Nth quantile used to assess noise
- noise_sd
 the fraction of the noise_quantile to use as the noise variability