quickMergeMS: quickMergeMS

View source: R/Functions_deprecated.R

quickMergeMSR Documentation

quickMergeMS

Description

NOTE: This function is deprecated, use MassTools::mergeMS !

Usage

quickMergeMS(speclist, ppm = 5, mzdiff = 0.0005, removeNoise = NULL, count = F)

Arguments

speclist

list of spectra (matrix with mz and intensity values)

ppm

min difference between peaks in ppm

mzdiff

min difference between peaks in m/z

removeNoise

if not Null, will remove peaks with intensities below this fraction of maximum intensity

count

if true, will count number of peaks that were merged into each peak in the resulting spectrum (will return a 3-column matrix)

Details

Merge MS spectra, best used with noise-free spectra. Will merge all peaks that are EITHER within ppm OR within mzdiff range (mzdiff typically used to allow larger ppm difference in low mz range)

Replacement for mergeMS(..., mergeOnly = T)

Value

a merged mass spectrum as a matrix with mz and intensity values


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.