simulate_ind_spec_single: simulate_ind_spec_single

Description Usage Arguments Value

View source: R/SpecFunctions.R

Description

Internal function. The function simulates m/z and intensity values using given summary statistics.

Usage

1
simulate_ind_spec_single(interest, mz.tol, species, strain)

Arguments

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.

Value

A data frame that contains m/z, (normalized) intensity values, missing rates of peaks, species name, and strain name.


MGMS2 documentation built on April 24, 2020, 9:06 a.m.