Description Usage Arguments Value Examples
A simple wrapper to extract an OTU table from a tidyMicro set
1 |
micro_set |
A tidy_micro data set |
table |
OTU table of interest |
taxa_info |
The taxa info to pull |
A tibble
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(mrsa_gen); data(mrsa_clin)
## Creating tidyMicro set
set <- tidy_micro(otu_tabs = mrsa_gen, tab_names = "Genus", clinical = mrsa_clin)
## Filtering out unwanted OTUs
filt.set <- otu_filter(set, prev_cutoff = 1, ra_cutoff = 1, filter_summary = FALSE)
## Extract filtered OTU table
filt.otu.cts <- micro_otu(filt.set, table = "Genus")
## Extract filtered relative abundances table
filt.otu.ra <- micro_otu(filt.set, table = "Genus", taxa_info = ra)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.