peakDectAndEntroCal: Title Use EIC data to do peak detection and calculate entropy...

View source: R/peakDectAndEntroCal.R

peakDectAndEntroCalR Documentation

Title Use EIC data to do peak detection and calculate entropy of each peaks within a retention time range.

Description

Title Use EIC data to do peak detection and calculate entropy of each peaks within a retention time range.

Usage

peakDectAndEntroCal(eicData, trRange, m = 200)

Arguments

eicData,

a matrix containing EIC data, the first column is rt (retention time) and the second column is intensity.

trRange

retention time range for extraction.

m

parameter of peak detection.

Value

extractedPeaks

References

Ju R, Liu X, Zheng F, et al. Removal of False Positive Features to Generate Authentic Peak Table for High-resolution Mass Spectrometry-based Metabolomics Study[J]. Analytica Chimica Acta, 2019.

Examples

load(system.file("extdata/testData", "eicDataTest.rda", package = "MetEx"))
extractedPeaks <- peakDectAndEntroCal(eicData = eicDataTest, trRange=20)

zhengfj1994/MetEx documentation built on Nov. 19, 2023, 1:34 p.m.