Description Usage Arguments Value Examples
Simulate a set of spectra based on the default library with shifts
1 2 3 4 5 6 7 8 | simulate_spectra(
n.spectra,
max.shift = 0.02,
metab.percent = 0.5,
metab.different = 4,
add.noise = 0.07,
mult.noise = 0.09
)
|
n.spectra |
Number of spectra to simulate. |
max.shift |
Maximum shift allowed for artificial deformation of pure spectra (default to 0.02). |
metab.percent |
Percentage of present metabolites in complex spectra (default to 0.5). |
metab.different |
Number of metabolites that are different between each complex spectra (default to 4). |
add.noise, mult.noise |
additive and multiplicative noises. By default,
|
A list with a data frame of simulated spectra in columns and a data frame of simulated quantifications.
1 | spectra <- simulate_spectra(n.spectra = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.