Description Usage Arguments Details Value Examples
View source: R/formatDataSets.R
For a list of datasets, this function finds the union of taxa across all datasets and transforms them such that they all have the same columns of taxa.
1 | formatDataSets(group.data)
|
group.data |
A list where each element is a matrix of taxonomic counts(columns) for each sample(rows). Note that the row names should correspond to sample names |
This function will also sort all the columns into the same order for every dataset and remove any columns that have 0's for every sample.
E.g. For two datasets, any taxa present in dataset1 but not dataset2 will be added to dataset2 with a 0 count for all samples and vice versa.
The list given, but modified so every data set has the same ordering and number of columns
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.