This function computes the shot noise calculation.
Arguments
- dataset
An aggregated dataset or a data frame of peaks (i.e. works directly after
orbi_identify_isotopocules()
as well as with a tibble from orbi_get_data(peaks = everything()) or when reading from an IsoX file)- include_flagged_data
whether to include flagged data in the shot noise calculation (FALSE by default)