Calculate a_diversity of otutab
a_diversity(otutab, ...)
# S3 method for data.frame
a_diversity(
otutab,
method = c("richness", "shannon"),
tree = NULL,
digits = 4,
...
)
# S3 method for pc_otu
a_diversity(otutab, method = "all", tbl = "otutab", ...)
# S3 method for numeric
a_diversity(otutab, ...)
numeric
pass to a_diversity.data.frame
one of "all","richness","chao1","ace","gc","shannon","simpson","pd","pielou"
a iphylo object match the rownames of otutab
maintance how many digits
which table
a a_res object