Filter peaks and their associated spectra based on the number of fragments accounting for a fraction of the signal (i.e., > 5 fragments each account for more than 1

filter_low_complexity_spectra(
  grouped_ms2_data,
  min_signal_fragments = 5,
  signal_fraction_co = 0.01
)

Arguments

grouped_ms2_data

output of extract_and_group_fragments

min_signal_fragments

minimum number of fragments that a spectra must have to be usable

signal_fraction_co

fraction of total signal that a fragment must represent to be retained when using "signal_pool".

Value

grouped_ms2_data with low-complexity spectra and their fragments removed.