construct_metabosets | R Documentation |
Construct MetaboSet objects from input read by read_from_excel. Returns a list of MetaboSet objects, one per mode. The modes are separated by the "Split" column in feature_data.
construct_metabosets(
exprs,
pheno_data,
feature_data,
group_col = NA_character_,
time_col = NA_character_,
subject_col = NA_character_,
split_data = TRUE
)
exprs |
matrix, the feature abundances, size features x samples |
pheno_data |
data frame, sample information, size sample info variables x samples |
feature_data |
data frame, information about the features, size features x feature info columns |
group_col |
character, the name of the column in pheno_data to use as the grouping variable |
time_col |
character, the name of the column in pheno_data to use as the time variable |
subject_col |
character, the name of the column in pheno_data to use as the subject ID variable |
split_data |
logical, whether to split data by analytical mode recorded in the "Split" column of feature data. If TRUE (the default), will return a list of MetaboSet objects, one per analytical mode. If FALSE, will return a single MetaboSet object. |
list of MetaboSet objects or a single MetaboSet object
read_from_excel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.