Description Usage Arguments Value Author(s)
Extract (MS2) spectra from an XCMSnExp object that represent ions within the rt and m/z range defined by each chromatographic peak (in the same file /sample in which the peak was detected).
1 2 3 |
x |
XCMSnExp object with identified chromatographic peaks. |
msLevel |
|
expandRt |
|
expandMz |
|
ppm |
|
method |
|
skipFilled |
|
return.type |
|
Which object is returned depends on the value of return.type
:
For return.type = "Spectra"
: a Spectra object with elements being
Spectrum objects. The result objects contains all spectra that
for all peaks. Metadata column "peak_id"
provides the ID of the
respective peak (i.e. its rowname in chromPeaks).
If return.type = "list"
: list
of list
s that are either of length
0 or contain Spectrum2 object(s) within the m/z-rt range. The
length of the list matches the number of peaks.
Johannes Rainer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.