data(ITS1, meta)
# filter otu table
its1 <- filter.OTU(data=list(ITS1=ITS1), percent=0.01)[[1]]
m <- meta[, c(2,3,5,7)]
## Not run:
# # test the model
# nb <- assist.NB(its1, meta=m, rank="g",
# anov.fac="Harvestmethod",
# taxon=rownames(its1)[1])
# NB.model<-nb[[1]]
# tax.meta<-nb[[2]]
# taxon<-nb[[3]]
# envis.NB(NB.model=NB.model, tax.meta=tax.meta, taxon=taxon,
# x="Ergosterol_ppm", num.col="Ergosterol_ppm",
# group="Crop", group.order=NULL,
# xlab="Ergosterol (ppm)", ylab=NULL,
# fill="Harvestmethod", facet=c("City","Crop"))
# ## End(Not run)
Run the code above in your browser using DataLab