mergeMRexperiments {metagenomeSeq} | R Documentation |
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.
mergeMRexperiments(x, y)
x |
MRexperiment-class object 1. |
y |
MRexperiment-class object 2. |
Merged MRexperiment-class object.
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