peak_matching.Rd
MS/MS peaks matching
peak_matching(
library_list = NULL,
library_matched_features = NULL,
RI_sample = NULL,
ppm_err = 20,
intensity = 20,
RI_diff_type = c("rel", "abs")
)
an object structured as the element "lib_precursor" of the list returned by select_library()
a list of data frame, obtained by check_RT_mass() function. it is contains a list of metabolite with desired retention time and PPM error. each metabolite is a data frame of potential candidates with specific features; Feature_ID, RT_err, RT_flag, ppm_error, mass_status and mass_flag.
it is generated by calc_RI() function in order to turn intensity to relative intensity and filter the spectra by deleting the low intense peaks.
A number with default value of 10. The maximum PPM error must be less than this value. and those above this number will be eliminated.
maximum relative intensity
type of relative intensity difference: absolute or relative
A list with a data.frame of matched_peaks and matrices with scores of all-pairs comparison between peaks