coverage_info: Calculate coverage information of a phyloseq object

View source: R/coverage_based_rarefaction.R

coverage_infoR Documentation

Calculate 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 Oct. 15, 2024, 7:04 a.m.