cleanElnoise: Remove electronic noise

Description Usage Arguments Value Author(s) See Also Examples

Description

Removes known electronic noise peaks from a peak table

Usage

1
2
cleanElnoise(peaks, noise=getOption("RMassBank")$electronicNoise,
		width = getOption("RMassBank")$electronicNoiseWidth)

Arguments

peaks

An aggregated peak frame as described in aggregateSpectra. Columns mzFound, dppm and dppmBest are needed.

noise

A numeric vector of known m/z of electronic noise peaks from the instrument Defaults to the entries in the RMassBank settings.

width

The window for the noise peak in m/z units. Defaults to the entries in the RMassBank settings.

Value

Extends the aggregate data frame by column noise (logical), which is TRUE if the peak is marked as noise.

Author(s)

Michael Stravs

See Also

msmsWorkflow

Examples

1
2
3
4
5
6
# As used in the workflow:
## Not run: 
	    w@aggregated <- 
		cleanElnoise(w@aggregated)	

## End(Not run)

sneumann/RMassBank documentation built on Oct. 20, 2020, 3:19 p.m.