as.compoundData | R Documentation |
Converts a list object or several data.frames of FT-MS data to an object of the class 'compoundData'. Objects of the class 'compoundData' are lists with three obligatory components e_data
, f_data
, and e_meta
.
as.compoundData(
e_data,
f_data,
e_meta,
edata_cname,
fdata_cname,
mass_cname,
compound_cname,
...
)
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 peak/mass in |
fdata_cname |
character string specifying the name of the column containing the sample identifiers in |
mass_cname |
character string specifying the name of the column containing the peak/mass identifiers in |
compound_cname |
character string specifying the name of the column containing the compound identifier in |
... |
further arguments (see |
as.compoundData
constructs a compoundData object which is an ftmsData object where the rows of e_data
correspond to compounds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.