Main Content

combine

Combine two MetaData objects

Syntax

NewMDObj = combine(MDObj1, MDObj2)

Description

NewMDObj = combine(MDObj1, MDObj2) combines data from two MetaData objects and returns a new MetaData object. The sample or feature names in the two MetaData objects being combined must be unique. The variable names in the two MetaData objects can be unique or the same. If a variable name is common to the two MetaData objects, then the variable occupies one column in the new MetaData object. Variable names unique to either of the two MetaData objects occupy their own column and contain values only for the samples or features where the variable is present.

Input Arguments

MDObj#

Object of the bioma.data.MetaData class.