View source: R/functions-xcmsRaw.R
msn2xcmsRaw | R Documentation |
The MS2 and MSn data is stored in separate slots,
and can not directly be used by e.g. findPeaks().
msn2xcmsRaw()
will copy the MSn spectra
into the "normal" xcmsRaw
slots.
msn2xcmsRaw(xmsn)
xmsn |
an object of class |
The default gap value is determined from the 90th percentile of the pair-wise differences between adjacent mass values.
An xcmsRaw object
Steffen Neumann sneumann@ipb-halle.de
xcmsRaw
,
msnfile <- system.file("microtofq/MSMSpos20_6.mzML", package = "msdata")
xrmsn <- xcmsRaw(msnfile, includeMSn=TRUE)
xr <- msn2xcmsRaw(xrmsn)
p <- findPeaks(xr, method="centWave")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.