Description Usage Arguments Value Author(s) Examples
View source: R/functions-XCMSnExp.R
overlappingFeatures
identifies features that are overlapping or close in
the m/z - rt space.
1 | overlappingFeatures(x, expandMz = 0, expandRt = 0, ppm = 0)
|
x |
|
expandMz |
|
expandRt |
|
ppm |
|
list
with indices of features (in featureDefinitions()
) that
are overlapping.
Johannes Rainer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Load 2 test files.
data <- readMSData(c(system.file("cdf/KO/ko15.CDF", package = "faahKO"),
system.file("cdf/KO/ko16.CDF", package = "faahKO")),
mode = "onDisk")
## Perform peak detection; parameters set to reduce processing speed
data <- findChromPeaks(data, CentWaveParam(prefilter = c(3, 10000),
noise = 10000, snthresh = 40))
## Correspondence analysis
data <- groupChromPeaks(data, param = PeakDensityParam(sampleGroups = c(1, 1)))
## Identify overlapping features
overlappingFeatures(data)
## Identify features that are separated on retention time by less than
## 2 minutes
overlappingFeatures(data, expandRt = 60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.