View source: R/noisy_spectra.R
add_noise | R Documentation |
Adds noise to mass domain
add_noise(replicate_curve, standard_deviations)
replicate_curve |
'data.table' with technical replicates of a
deuteration curve (one element of a list obtained by
|
standard_deviations |
named vector of standard deviations |
The noise is sampled from normal distribution with mean 0
and standard deviation equal to per_run_deviations
and added to the
Mass
values unless they are not zeroes (there is no noise at the time
0
).
'data.table' containing a single noisy curve (for one replication).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.