Update a Metabolite object.
update_Metabolite(object, dataset = NULL, action = NULL)
A Metabolite object
A vector or data.table used for a specific action mode.
Currently support:
"injection_order": `@sampleData` will be updated by the order of sampleID that provided in the injection order data
"keep_feature": feature ID list to keep
"remove_feature": feature ID list to remove
"keep_sample": sample ID list to keep
"remove_sample": sample ID list to remove
"add_sample_annotation": merge data with `@sampleData`
"change_featureID": change the name of featureID (provide the new column name in `@featureData` for dataset)
A Metabolite object after updating.