create_Metabolite | R Documentation |
Create a Metabolite object from three input data sets: 1) metabolite measurements (eg. peak area data or normalized data), and 2) metabolite annotation (eg. chemical annotation) 3) sample annotation (eg. sample meta data)
create_Metabolite( assayData, featureData, sampleData, featureID, sampleID, logs )
assayData |
a data.frame or data.table of metabolite measurements (peak area data or normalized data, sample [row] * feature [column]). |
featureData |
a data.frame or data.table of metabolite annotation (chemical annotation) |
sampleData |
a data.frame or data.table of sample annotation (sample meta data). |
featureID |
a character of the metabolite ID column (in feature file and the column names of data), default: CHEM_ID (provided from Metabolon file). |
sampleID |
a character of the sample ID column (in sample and the first column of data), default: PARENT_SAMPLE_NAME (provided from Metabolon file). |
logs |
Log information. |
A Metabolite object with slots: assayData, featureData, and sampleData.
A Metabolite object.
Metabolite
, load_excel
, load_data
# df <- create_Metabolite(assayData = df_data, featureData = df_feature, sampleData = df_sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.