createanClique: 'createanClique' generic function to create an object of...

Description Usage Arguments Value Methods (by class) See Also Examples

Description

createanClique creates an 'anClique' object from processed m/z data.e

Usage

1
2
3
4
5
6
7
createanClique(mzdata)

## S4 method for signature 'xcmsSet'
createanClique(mzdata)

## S4 method for signature 'XCMSnExp'
createanClique(mzdata)

Arguments

mzdata

An object with processed m/z data. See methods for valid class types.

Value

An 'anClique' S4 object with all elements to perform clique grouping, isotope annotation and adduct annotation.

Methods (by class)

See Also

anClique

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Using a 'XCMSnExp' object
mzfile <- system.file("standards.mzXML", package = "cliqueMS")
library(xcms)
mzraw <- readMSData(files = mzfile, mode = "onDisk")
cpw <- CentWaveParam(ppm = 15, peakwidth = c(5,20), snthresh = 10)
mzData <- findChromPeaks(object = mzraw, param = cpw)
ex.anClique <- createanClique(mzdata = mzData)
show(ex.anClique)

## Using a 'xcmsSet' object
mzfile <- system.file("standards.mzXML", package = "cliqueMS")
msSet <- xcms::xcmsSet(files = mzfile, method = "centWave",
ppm = 15, peakwidth = c(5,20), snthresh = 10)
ex.anClique <- createanClique(msSet)

cliqueMS documentation built on Nov. 8, 2020, 7:36 p.m.