This function sets all the parameters used for downstream pre-processing of user's raw MS data.
SetPeakParam(alg = "centwave", ppm = 10, min_pkw = 10,
max_pkw = 60, sn_thresh = 6, mzdiff = 0.01, bw = 5,
min_frac = 0.5, min_sample_num = 1, max_feats = 100,
bin_size = 1, rt_filt = FALSE, rt_min = 200, rt_max = 1000)
Character, specify the algorithm to perform peak detection. "centwave" to use the CentWave algorithm, and "match_filt" to use the MatchedFilter algorithm.
Numeric, specify the mass error in ppm.
Numeric, specify the minimum peak width in seconds.
Numeric, specify the maximum peak width in seconds.
Numeric, specify the signal to noise threshold.
Numeric, specify the minimum m/z difference for signals to be considered as different features when retention times are overlapping.
Numeric, specify the band width (sd or half width at half maximum) of gaussian smoothing kernel to be applied during peak grouping.
Numeric, specify fraction of samples in each group that contain the feature for it to be included.
Numeric, specify minimum number of sample(s) in each group that contain the feature for it to be included.
Numeric, specify the maximum number of features to be identified.
Boolean, if true, users must specify the minimum and maximum retention time to be included in the analysis. By default this is set to 200 - 1000.
Numeric, specify the minimum retention time.
Numeric, specify the maximum retention time.