Description Usage Arguments Details Value
Extract ions by mz using a variety of options for subsetting. See details.
1 2 3 4 5 6 7 8 9 10 11 12 |
mzObj |
a data.table or disk.frame imported from mzML/mzXML file. |
mz |
the m/z value to extract. |
mz_delta |
Optional. A numeric value +/- the mz value to extract. Default = NULL. |
ppmTol |
Optional. The mass accuracy of the instrument in ppm. Default = NULL |
iStart |
Optional. The integer start index to begin extracting ions. Default = NULL. |
iStop |
Optional. The integer stop index stop extracting ions. Default = NULL. |
tStart |
Optional. The numeric time value to begin extracting ions. Default = NULL. |
tStop |
Optional. The numeric time value to stop extracting ions. Default = NULL. |
normalize |
Logical. Default = FALSE. Should the data be normalized? |
method |
the normalization method. "maxPeak", "sum", or "sqrt". |
mzObj and mz must be provided. Default behavior is to extract ions exactly matching mz value accross all time.
Specifying mz_delta or ppmTol will result in mz filtering. mz_delta will extract ions with values in the range where mz >= mz-mz_delta and mz <= mz+mz_delta. Specifying ppmTol workes similarly, but calculates the upper and lower bounds from ppm mass error.
Specifying iStart/iStop or tStart/tStop will result in time filtering.
Returns a subset of the original mzObj as a data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.