Remove peak mappings that were problematic (unidentified, missing, or ambiguous) during peak mapping.

iso_remove_problematic_peak_mappings(dt, remove_unidentified = TRUE,
  remove_missing = TRUE, remove_ambiguous = TRUE,
  remove_mapping_info_columns = TRUE, quiet = default(quiet))



data table with mapped peaks. Requires the is_identified, is_missing and is_ambiguous columns to be present.


whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages.


whether to automatically remove mapping info columns. If true and:

  • remove_unidentified = TRUE - is_identified column automatically removed

  • remove_missing = TRUE - is_missing column automatically removed

  • remove_ambiguous = TRUE - is_ambiguous, n_matches, and n_overlapping columns automatically removed

See also