View source: R/MsBackendMapping.R
MsBackendMapping | R Documentation |
The MsBackendMapping
class supports import of MS/MS spectra data from
files in text format by a defined mapping.
After initial import, the full MS data is kept in
memory. MsBackendMapping
uses tibble/tidyverse stuff in the background.
New objects are created with the MsBackendMapping
function. The
backendInitialize
method has to be subsequently called to
initialize the object and import MS/MS data from (one or more)
files. Optional parameter nonStop
allows to specify whether the
import returns with an error if one of the xml files lacks required
data, such as mz
and intensity
values (default nonStop = FALSE
), or whether only affected file(s) is(are) skipped and a
warning is shown (nonStop = TRUE
). Note that any other error
(such as xml import error) will abort import regardless of
parameter nonStop
.
## S4 method for signature 'MsBackendMapping'
backendInitialize(object, files, data, nonStop = FALSE, parallel = FALSE, ...)
MsBackendMapping(format, fields = .load_default_fields())
object |
Instance of |
files |
|
nonStop |
|
... |
Currently ignored. |
BPPARAM |
Parameter object defining the parallel processing
setup to import data in parallel. Defaults to |
Michele Stravs stravs@imsb.biol.ethz.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.