Filter to high information fragments based on one of several filter_methods

filter_low_information_fragments(
  grouped_ms2_data,
  filter_method = "top5union",
  signal_fraction_co = 0.001
)

Arguments

grouped_ms2_data

output of extract_and_group_fragments

filter_method

method for filtering low-information fragments:

top5union (default)

the union of the 5 most abundant fragments (w/ intensity >1% of total signal)

frequency

take fragments which are present in more than 10 spectra or >= 20% of spectra or that are the most abundant ion of any spectra.

signal_pool

take fragments which represents more than signal_fraction_co fraction of the total signal across all peak spectra.

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-information fragments removed.