iso_remove_problematic_peak_mappings: Remove problematic peak mappings

Description Usage Arguments Value See Also

View source: R/peak_mapping.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
iso_remove_problematic_peak_mappings(...)

## S3 method for class 'iso_file_list'
iso_remove_problematic_peak_mappings(
  iso_files,
  remove_unidentified = TRUE,
  remove_missing = TRUE,
  remove_ambiguous = TRUE,
  remove_mapping_info_columns = TRUE,
  quiet = default(quiet)
)

## S3 method for class 'data.frame'
iso_remove_problematic_peak_mappings(
  peak_table,
  remove_unidentified = TRUE,
  remove_missing = TRUE,
  remove_ambiguous = TRUE,
  remove_mapping_info_columns = TRUE,
  quiet = default(quiet)
)

Arguments

...

S3 method placeholder parameters, see class specific functions for details on parameters

iso_files

collection of continuous flow iso_file objects

quiet

whether to display (quiet=FALSE) or silence (quiet = TRUE) information messages. Set parameter to overwrite global defaults for this function or set global defaults with calls to iso_turn_info_message_on and iso_turn_info_message_off

peak_table

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

remove_mapping_info_column

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

Value

the data with the problematic peak mappings remove

See Also

Other peak mapping functions: iso_get_problematic_peaks(), iso_map_peaks(), iso_summarize_peak_mappings()


KopfLab/isoprocessorCUB documentation built on Nov. 8, 2021, 9:54 a.m.