Internal function. The function simulates m/z and intensity values using given summary statistics.
simulate_ind_spec_single(interest, mz.tol, species, strain)Summary statistics of spectra.
The tolerance of m/z. This is used to generate m/z values of peaks.
Species.
Strain name.
A data frame that contains m/z, (normalized) intensity values, missing rates of peaks, species name, and strain name.