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 | ## Load a test data set with detected peaks
data(faahko_sub)
## Update the path to the files for the local system
dirname(faahko_sub) <- system.file("cdf/KO", package = "faahKO")
## Disable parallel processing for this example
register(SerialParam())
## Correspondence analysis
xdata <- groupChromPeaks(faahko_sub, param = PeakDensityParam(sampleGroups = c(1, 1, 1)))
## Identify overlapping features
overlappingFeatures(xdata)
## Identify features that are separated on retention time by less than
## 2 minutes
overlappingFeatures(xdata, expandRt = 60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.