powered by
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 )
a data.frame or data.table of metabolite measurements (peak area data or normalized data, sample [row] * feature [column]).
a data.frame or data.table of metabolite annotation (chemical annotation)
a data.frame or data.table of sample annotation (sample meta data).
a character of the metabolite ID column (in feature file and the column names of data), default: CHEM_ID (provided from Metabolon file).
a character of the sample ID column (in sample and the first column of data), default: PARENT_SAMPLE_NAME (provided from Metabolon file).
Log information.
A Metabolite object with slots: assayData, featureData, and sampleData.
A Metabolite object.
Metabolite, load_excel, load_data
Metabolite
load_excel
load_data
# NOT RUN { # df <- create_Metabolite(assayData = df_data, featureData = df_feature, sampleData = df_sample) # }
Run the code above in your browser using DataLab