Find and remove redundant peakgroups based on MS1 concordance Mz, Rt and Quants

remove_redundant_peakgroups(
  mzroll_db_con,
  clamr_config,
  rt_grouping_tol = 0.5,
  group_corr_cutoff = 0.98
)

Arguments

mzroll_db_con

a connection to a mzroll database as produced by mzroll_db_sqlite

clamr_config

a named list of mass spec parameters with special formatting of instrument tolerances generated by build_clamr_config.

rt_grouping_tol

maximum departure between retention time of two groups to be consistent

group_corr_cutoff

minimum disagreement in terms of correlation between two groups to be consistent