Read binary data from a source
loadRaw-methods.Rd
This function extracts the raw data which will be used an
xcmsRaw
object. Further processing of data is
done in the xcmsRaw
constructor.
Methods
signature(object = "xcmsSource")
Uses
loadRaw,xcmsSource-method
to extract raw data. Subclasses ofxcmsSource
can provide different ways of fetching data.
Value
A list containing elements describing the data source. The rt
,
scanindex
, tic
, and acquisitionNum
components
each have one entry per scan. They are parallel in the sense that
rt[1]
, scanindex[1]
, and acquisitionNum[1]
all
refer to the same scan. The list containst the following components:
rt
Numeric vector with acquisition time (in seconds) for each scan
tic
Numeric vector with Total Ion Count for each scan
scanindex
Integer vector with starting positions of each scan in the
mz
andintensity
components. It is an exclusive offset, soscanindex[i]
is the offset inmz
andintensity
before the beginning of scani
. This means that themz
(respectivelyintensity
) values for scani
would be fromscanindex[i] + 1
toscanindex[i + 1]
mz
Concatenated vector of m/z values for all scans
intensity
Concatenated vector of intensity values for all scans
Author
Daniel Hackney, dan@haxney.org