Description Usage Arguments Value Note Author(s)
query MSn data by the attribute of 'msLevel' and get MSn raw data into a R list. Users may just use function "saveMSnRaw" to retrieve ion tree from a data file and avoid a direct Java function call.
1 | getMSnRaw(msdata, msLevel = 2)
|
msdata |
msdata is a reference to a Java ArrayList. Obtained by calling getMSData Java function. msdata=.jcall("XCMS", "Ljava/util/ArrayList;","getMSData", filename); |
msLevel |
msLevel in integer |
premz |
ancestral precursor ions |
rt |
retention time |
msn.sp |
a list of spectrum (m/z, intensity) |
MS1 data could be queried by msLevel=1. The return type is still a list but different components (rt, tic, sp).
Mingshu Cao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.