check_RT it is making a list of all library metabolites and assigning proper sample ID to each based on desired retention time error.

check_RT(
  reference = NULL,
  feature_data = NULL,
  rt_err_thr = 1,
  rt_best_thr = 0.5,
  filter = FALSE
)

Arguments

reference

A list of library contain retention time with specific ID.

feature_data

A list of sample data contain retention time with specific ID.

rt_err_thr

A number that specify the desired absolute difference of retention time between sample and library metabolite.

rt_best_thr

Features with RT error < rt_best_thr will be labelled as "super", those with rt_best_thr < RT error <= rt_err_thr as "acceptable", the remaining as "unacceptable".

filter

whether to consider only features with RT error <= rt_err_thr

Value

A list of library ID each contain a data frame of sample ID with retention time in range of rt_err_thr