data(ITS1, ITS2, meta)
data=list(ITS1=ITS1, ITS2=ITS2)
# plot the relative abundance at the class level to the screen,
# ignoring the unclassified
factor.abundance(data=data, rank="family", meta=meta,
meta.factor=c("Crop"), top=20,
drop.unclassified=TRUE)
## Not run:
# # plot the count abundance at the phylum level to path.tiff
# factor.abundance(data=data, rank="family", meta=meta,
# meta.factor=c("Crop"), top=20, count=FALSE,
# drop.unclassified=TRUE, main="",
# file="path/to/tiff", ext="tiff",
# height=8, width=12)
# ## End(Not run)
Run the code above in your browser using DataLab