Skip to contents

This function is designed specifically for combining two MicrobiomeStat data objects, assuming that they are both in 'Raw' format. Each MicrobiomeStat data object should be a list that contains 'feature.tab' (a matrix of features), 'meta.dat' (a data frame of metadata), and 'feature.ann' (a matrix of feature annotations).

Usage

mStat_combine_data(data.obj1, data.obj2)

Arguments

data.obj1

The first MicrobiomeStat data object to be combined.

data.obj2

The second MicrobiomeStat data object to be combined.

Value

A list with the combined 'feature.tab', 'meta.dat' and 'feature.ann'.

Examples

# combined_data <- mStat_combine_data(data_obj1, data_obj2)