Description Usage Arguments Details Value Author(s) Examples
Convert deconvoluted matrix into MSP
-object
1 2 |
mm |
|
splitPattern |
|
splitIndMZ |
|
splitIndRT |
|
rt |
|
names |
|
information |
|
classes |
|
adduct |
|
The function convert2MSP
creates a data entry for each precursor ion.
Each entry in the return object has the following information: Num Peaks and
a list of fragments together with their intensities; it will further contain
information on m/z values of the precursor ion, the retention time,
metabolite names, classes, adduct ion name and further information.
convert2MSP
will access the columns "rt", "names", "information",
"classes" and "adduct", respectively, if arguments are set to TRUE
. The
column "id" has to contain a unique identifier for each MS/MS feature. It is
obligatory that each element in the column "id" contains the precursor
m/z value, but may contain furhter elements (e.g. peak correlation value or
retention time of the precursor ion). Information about the m/z value will be
assessed by splitPattern
and splitInd
. E.g. items in the column
"id" can be in the form of "1_163.23", which has to be accessed by setting
splitPattern = "_"
and splitInd = 2
to access the m/z value of
the precursor ion (here: 162.23). If rt
is set to TRUE
and
splitIndRT
is NULL
, convert2MSP
will access the column
"rt" to get the retention time values corresponding to each fragment and
calculate the mean value, if rt
is set to TRUE
and
splitIndRT
numeric
, convert2MSP
will retrieve the
retention time value from column "id".
convert2MSP
returns an object of class MSP
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 | data("sd02_deconvoluted", package = "MetCirc")
convert2MSP(mm = sd02_deconvoluted, splitPattern = " _ ", splitIndMZ = 2,
splitIndRT = NULL, rt = FALSE, names = FALSE, information = FALSE,
classes = FALSE, adduct = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.