Convert sample intensity to relative intensity and filter

calc_RI(feature_spectra = NULL, accept_RI = 10)

Arguments

feature_spectra

it is a list of sample ID which each contains list of its m/z and Intensity.

accept_RI

numeric. the default value is 10. it is a maximum relative intensity that is kept in sample. since low intense peaks could be noise, it is filtering sample dataset by deleting the relative intensity lower then accept_RI.

Value

list of spectra with RI