Description Usage Arguments Value Examples
View source: R/purityD-av-spectra.R
Group a list of dataframes by their m/z values
1 | groupPeaksEx(peak_list, cores = 1, clustType = "hc", ppm = 2)
|
peak_list |
list = A list (named) of dataframes consiting of a least the following columns ['peakID', 'mz'] |
cores |
= number of cores used for calculation |
clustType |
= if 'hc' the hierarchical clustering, if 'simple' the mz values will just be grouped using a simple 1D method |
ppm |
numeric = The ppm tolerance to group peaklists |
data.frame of peaklists grouped together by mz
1 2 3 4 5 | datapth <- system.file("extdata", "dims", "mzML", package="msPurityData")
inDF <- Getfiles(datapth, pattern=".mzML", check = FALSE, cStrt = FALSE)
ppDIMS <- purityD(fileList=inDF, cores=1, mzML=TRUE)
ppDIMS <- averageSpectra(ppDIMS)
grpedP <- groupPeaks(ppDIMS)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.