| read_mzIDs {MSnID} | R Documentation |
Reads mzIdentML files into psms data.table slot
of object MSnID instance. The functionality leverage
mzID package facility. Note, the calls are memoised
using R.cache facility. So if the call with the same
list of files issues again, the results will be read from cache instead of
re-parsing the mzIdentML files.
read_mzIDs(object, mzids, backend)
object |
An instance of class "MSnID" |
mzids |
paths to mzIdentML (mzid) files |
backend |
Package that is leveraged for parsing.
Either 'mzID' or 'mzR' corresponding to
|
mzIdentML files can be either as is or in gzip compressed form (*.mzid.gz).
Returns an instance of "MSnID" class with @psms data.table slot
populated with MS/MS identifications.
Vladislav A Petyuk vladislav.petyuk@pnnl.gov
## Not run:
msnidObj <- MSnID(".")
mzids <- system.file("extdata","c_elegans.mzid.gz",package="MSnID")
msnidObj <- read_mzIDs(msnidObj, mzids)
# clean up the cache directory
unlink(".Rcache", recursive=TRUE)
## End(Not run)