Description Usage Arguments Details Value Author(s) Examples
This function rolls up data to the specified taxonomic level so that statistics may be calculated at various taxonomic levels.
1 | taxa_rollup(omicsData, level, taxa_levels = NULL)
|
omicsData |
an object of the class 'seqData' created by |
level |
taxonomic level to roll up to. |
taxa_levels |
The levels of taxonomy (or other e_meta object) which might be used in the roll up. If NULL, will use c("Kingdom","Phylum","Class","Order","Family","Genus","Species"), in that order. Default is NULL. |
Data will be rolled (summed) up to a specified taxonomic level. For example, data at the OTU level could be rolled (summed) up to the Genus level before statistics are computed.
A seqData object of the same class as the input, where e_data and e_meta are rolled up to the specified level.
Allison Thompson
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
library(mintJansson)
data(rRNA_data)
rRNA_split <- split_emeta(rRNA_data)
rRNA_rollup <- taxa_rollup(omicsData = rRNA_split, level = "Phylum")
dim(rRNA_rollup$e_data)
attributes(rRNA_rollup)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.