Description Usage Arguments Value Examples
Uses a purityD object to group all the peaklists in the 'avPeaks$processing' slot
| 1 2 | ## S4 method for signature 'purityD'
groupPeaks(Object, ppm = 3, sampleOnly = FALSE, clustType = "hc")
 | 
| Object | object = purityD object | 
| ppm | numeric = The ppm tolerance to group peaklists | 
| sampleOnly | = if TRUE the sample peaks will only be grouped | 
| clustType | = if 'hc' the hierarchical clustering, if 'simple' the mz values will just be grouped using a simple 1D method | 
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.