Adds noise to a single time point in mass domain
add_noise_to_one_timepoint(spectrum, standard_deviations)
a single spectrum from the list obtained using
make_experimental_design
.
vector of standard deviations for the random noise
data.table
the noise is sampled from a normal distribution with mean 0
and standard deviation equal to standard_deviations
and added to
Mz
values for the time points (based on supplied parameters for time
points).