group_peaks_rt: Group Retention Time (RT) Peaks

group_peaks_rtR Documentation

Group Retention Time (RT) Peaks

Description

This function groups retention time (RT) values based on a specified tolerance, clustering peaks that fall within the same RT range.

Usage

group_peaks_rt(rt, rt.tol = 10)

Arguments

rt

A numeric vector of retention times.

rt.tol

Numeric; retention time tolerance for grouping. Default is '10'.

Value

A data frame with two columns: - 'rt': The retention times of grouped peaks. - 'class': The assigned group ID.


tidymass/metpath documentation built on June 1, 2025, 10:05 p.m.