## There are many more interesting examples at the phyloseq online tutorials.
## http://joey711.github.com/phyloseq/plot_richness-examples
data("esophagus")
# Default is all available measures
estimate_richness(esophagus)
# Specify just one:
estimate_richness(esophagus, measures="Observed")
# Specify a few:
estimate_richness(esophagus, measures=c("Observed", "InvSimpson", "Shannon", "Chao1"))
Run the code above in your browser using DataLab