overlappingFeatures {xcms} | R Documentation |
overlappingFeatures
identifies features that are overlapping or close in
the m/z - rt space.
overlappingFeatures(x, expandMz = 0, expandRt = 0, ppm = 0)
x |
|
expandMz |
|
expandRt |
|
ppm |
|
list
with indices of features (in featureDefinitions()
) that
are overlapping.
Johannes Rainer
## 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(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)