mergeMRexperiments: Merge two MRexperiment objects together

View source: R/mergeMRexperiments.R

mergeMRexperimentsR Documentation

Merge two MRexperiment objects together

Description

This function will take two MRexperiment objects and merge them together finding common OTUs. If there are OTUs not found in one of the two MRexperiments then a message will announce this and values will be coerced to zero for the second table.

Usage

mergeMRexperiments(x, y)

Arguments

x

MRexperiment-class object 1.

y

MRexperiment-class object 2.

Value

Merged MRexperiment-class object.

Examples

data(mouseData)
newobj = mergeMRexperiments(mouseData,mouseData)
newobj

# let me know if people are interested in an option to merge by keys instead of row names.
data(lungData)
newobj = mergeMRexperiments(mouseData,lungData)
newobj

HCBravoLab/metagenomeSeq documentation built on March 17, 2024, 3:21 p.m.