Merge two Metabolite objects.
Usage
merge_data(object_X = NULL, object_Y = NULL, all = TRUE, verbose = TRUE)
Arguments
- object_X
The first Metabolite object.
- object_Y
The second Metabolite object.
- all
logical; all = TRUE: keep all metabolites; all = FALSE,
keep common metabolites that were present in both datasets.
- verbose
print log information.
Value
A Metabolite object after merging with slots: assayData, featureData, and sampleData.