mergeDataSets {HMPTrees} | R Documentation |
Merge Multiple Data Sets
Description
This function can take any number of data sets, calculate their individual and combined MLEs and then merge them.
Usage
mergeDataSets(dataList, calcMLE = FALSE, uniqueNames = FALSE, data = NULL)
Arguments
dataList |
A list of data frames in which each column contains the rdp read counts for every taxa given in the row names. |
calcMLE |
If 'FALSE' the MLEs for the data sets will not be calculated, otherwise they are added to the end. |
uniqueNames |
If 'TRUE' the column names in the combined data set will be appended to insure uniqueness, otherwise the column names
will follow the naming process from the |
data |
Deprecated. Replaced with dataList. |
Details
Although not required, all data sets should be standardized to the same number of reads before merging.
Value
A single data set containing all the data from the input data sets, in addition to their individual MLEs and a combined MLE if requested.
Author(s)
Berkley Shands, Patricio S. La Rosa, Elena Deych, William D. Shannon
Examples
data(saliva)
data(stool)
dataComb <- mergeDataSets(list(saliva, stool))