Find the most likely groupId corresponding to a set of mz, rt tuples.

join_groupIds_to_mz_rts(mz_rts, mzroll_db_con, clamr_config)

Arguments

mz_rts

a tibble containing mz and rt

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.

Value

mz_rts with groupIds added