Description Usage Arguments Details Value Author(s) Examples
View source: R/functions-OnDiskMSnExp.R
The function extracts the mode (profile or centroided) from the
raw mass spectrometry file by parsing the mzML file directly. If
the object x
stems from any other type of file, NA
s are
returned.
1 |
x |
An object of class OnDiskMSnExp. |
This function is much faster than isCentroided()
, which
estimates mode from the data, but is limited to data stemming from
mzML files which are still available in their original location
(and accessed with fileNames(x)
).
A named logical
vector of the same length as x
.
Laurent Gatto
1 2 3 4 5 | library("msdata")
f <- proteomics(full.names = TRUE,
pattern = "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01.mzML.gz")
x <- readMSData(f, mode = "onDisk")
table(isCentroidedFromFile(x), msLevel(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.