as.moduleData | R Documentation |
Converts a list object or several data.frames of FT-MS data to an object of the class 'moduleData'. Objects of the class 'moduleData' are lists with two obligatory components e_data
and f_data
and one optional component, e_meta
.
as.moduleData(
e_data,
f_data,
e_meta = NULL,
edata_cname,
fdata_cname,
module_cname,
module_node_cname,
instrument_type = "12T",
db = NA,
...
)
e_data |
a |
f_data |
a data.frame with |
e_meta |
a data.frame with |
edata_cname |
character string specifying the name of the column containing a unique identifier for each module node in |
fdata_cname |
character string specifying the name of the column containing the sample identifiers in |
module_cname |
character string specifying the name of the column containing the module identifiers in |
module_node_cname |
character string specifying the name of the column containing the module node identifiers in |
instrument_type |
character string giving the type of FT-MS instrument data was generated by. Valid options are: "12T" and "21T". Defaults to "12T". This information is used to determine appropriate plotting functions for Van Krevelen, Kendrick, etc. plots. |
db |
character string specifying the database from which reaction information is drawn |
... |
further arguments |
as.moduleData
constructs a moduleData object which is an ftmsData object where the rows of e_data
correspond to unique module nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.