cpcChromParam.Rd
These objects are used to set the parameters for the peak processing. Filter criteria are used to filter out peaks that do not meet the criteria.
cpcChromParam(
mz = NULL,
p = NULL,
s = NULL,
mz_range = NULL,
ppm = 50,
min_pts = 7L,
min_inf_width = 3,
min_sn = 10,
min_frac = 0.5,
min_intensity = NULL,
interval_tf = NULL,
min_w = 5L,
max_w = 21L,
smooth_method = "savgol",
smooth_times = 2L,
smooth_win = NULL,
max_sigma = NULL,
fit_emg = FALSE,
sel_peaks = NULL,
sel_files = NULL,
verbose_output = FALSE,
save_all = FALSE,
plot = FALSE
)
m/z value for the peak
Max scan of the peak (calculated from rt
) in the XCMSnExp
peak table
Sigma value of the peak in the XCMSnExp
peak table
m/z range for generating the XIC (determined from the ppm value)
The ppm range for generating XICs
Filter criteria for minimum points between peak boundaries
Filter criteria for minimum points between peak inflection points. Should be set >=3 to avoid issues.
Filter criteria for minimum signal-to-noise ratio.
Filter criteria for minimum samples a peak is found in. This is currently not used as it is only applicable to feature filtering.
Filter criteria for minimum peak area.
A numeric vector of length 2 giving the min and max tailing factor for filtering of peaks (default: NULL means peaks will not be filtered based on this)
Minimum smoothing function window size (default: 5L)
Maximum smoothing function window size (default: 21L)
Smoothing method used during processing. Available: "savgol" for Savitzky-Golay smoothing or "mean" for moving mean smoothing.
Number of smooth iterations,
Width of the smoothing function. If set to NULL
it will be determined from the peak sigma values in the XCMSnExp object.
Largest allowable sigmal value used to determine the peak widths from the XCMSnExp object.
logical
indicating if EMG deconvolution should be performed. Note that this adds a significant amount of time to the processing but gives better estimates of peak characteristics.
integer
vector indicating a subset of peak indices to be processed from the XCMSnExp object. If NULL all peaks are processed.
integer
vector indicating a subset of file indices to be processed from the XCMSnExp object. If NULL all files are processed.
logical
value indicating if output is to be given during processing.
logical
indicating if the results should be plotted for each peak
A cpcProcParam
object