This function calculates the retention time (RT) match score based on the RT error and the RT match tolerance. The score is calculated using a Gaussian-like function.
calculate_rt_match_score(RT.error, rt.match.tol = 30)
A numeric vector representing the RT match score for each RT error. The score is calculated using the formula: exp(−0.5∗(RT.error/rt.match.tol)2).
The RT match score is computed using a Gaussian-like function where the RT error is normalized by the RT match tolerance (`rt.match.tol`). Lower RT errors result in higher match scores.