merge_data: merge two Metabolite objects

View source: R/data.R

merge_dataR Documentation

merge two Metabolite objects

Description

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.


XikunHan/metabolomicsR documentation built on Oct. 14, 2024, 3:18 p.m.