mergeMRexperiments: Merge two MRexperiment objects together

Description Usage Arguments Value Examples

View source: R/mergeMRexperiments.R

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

1

Arguments

x

MRexperiment-class object 1.

y

MRexperiment-class object 2.

Value

Merged MRexperiment-class object.

Examples

1
2
3
4
5
6
7
8
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

metagenomeSeq documentation built on May 20, 2017, 9:57 p.m.

Search within the metagenomeSeq package
Search all R packages, documentation and source code