getMtime | R Documentation |
The function getMtime
searches the migration time (mt) of a known
compound within a specified mz and mt range (mz
and mt
).
getMtime( x, mz = numeric(), mt = numeric(), param = MatchedFilterParam(binSize = 1, snthresh = 50) )
x |
|
mz |
|
mt |
|
param |
|
getMtime
uses CE-MS data stored in OnDiskMSnExp
objects to search for
the migration time of selected compounds as for example EOF markers in
order to perform effective mobility scale transformation.
The OnDiskMSnExp
object is filtered using the defined mz-range mz
, and
the mt-range mt
, where the compound is expected to migrate.
The migration time is determined by applying the peak picking algorithm
from xcms.
data.frame
with two columns "rtime" storing the migration time in sec,
and "fileIdx" storing the file index and the number of rows corresponding
to the number of input files.
Liesa Salzer
fl <- system.file("CE-MS/CEMS_10ppm.mzML", package = "msdata" ) raw_data <- readMSData( files = fl, mode = "onDisk" ) # [M+H]+ of paracetamol: mz = 152.071154 mz_paracetamol <- c(152.071154 - 0.005, 152.071154 + 0.005) mt_paracetamol <- c(600, 900) getMtime(raw_data, mz = mz_paracetamol, mt = mt_paracetamol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.