coverage_info: Obtaining coverage information of a phyloseq object

View source: R/coverage_based_rarefaction.R

coverage_infoR Documentation

Obtaining coverage information of a phyloseq object

Description

coverage_info a wrapper function of iNEXT::DataInfo() for a phyloseq object

Usage

coverage_info(ps_obj, datatype = "abundance", estimate_div = FALSE)

Arguments

ps_obj

Phyloseq object.

datatype

Character. Specify the data type. abundance or incidence (this should be normally abundance for a phyloseq object).

estimate_div

logical. If TRUE, return the diversity estimate at the minimum coverage using iNEXT::estimateD.

Details

  • Hsieh et al. (2016) Methods in Ecology and Evolution https://doi.org/10.1111/2041-210X.12613

Value

data.frame or list.

Examples

# coverage_info(ps_obj)

ong8181/macam documentation built on April 11, 2024, 12:58 p.m.