This function can detect m/z peaks that are related to each other across selected spectra lists.
spectra_ion_filter(spectraList, indexSpectraList = length(spectraList), massError,
minPercentageDetectedScans = 10, rsdCutoff = 0, pearsonRHOthreshold = NA)A matrix of m/z and cumulated intensities across the `indexSpectraList` spectra
a list of matrices of m/z and intensity values for each chromatogram scan
a vector of spectra indices for the analysis. This vector should have at least 3 elements to run this function.
required mass error for m/z values
Relative standard deviations (in percent) to remove constant peaks (usually noisy peaks)
Minimum percentage of detected scans for an m/z peak
A threshold for pairwise Pearson's correlation coefficient across the selected spectra lists. This feature is recommended to find co-occurring peaks within a chromatographic peak. This feature may be used to eliminate instrument noises from MS2 data channels within an MS1 chromatographic peak for DDA analysis.