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