# NOT RUN {
data(phy); data(cla); data(ord); data(fam); data(clin)
otu_tabs = list(Phylum = phy, Class = cla, Order = ord, Family = fam)
set <- tidy_micro(otu_tabs = otu_tabs, clinical = clin) %>%
filter(day == 7) ## Only including the first week
## Creating beta binomial models on filtered tidy_micro set
# }
# NOT RUN {
bb_phy <- set %>%
otu_filter(ra_cutoff = 0.1, exclude_taxa = c("Unclassified", "Bacteria")) %>%
bb_mods(table = "Phylum", bpd1)
bb_phy %>%
bb_bars(bpd1, top_taxa = 4, xlab = "BPD Severity")
# }
Run the code above in your browser using DataLab