good_coverage: Good's coverage index

Description Usage Arguments Value

View source: R/alpha_div.R

Description

The 'good_coverage' function estimates the Good's coverage index based on a matrix of OTUs/ASVs/Species counts.

Usage

1

Arguments

x

numeric (of integers) matrix where rows are samples/observations and columns are OTUs/ASVs/Species. If given a data frame or phyloseq-class object, it will be coerced to a matrix.

Value

A named (with samples) vector of Good's coverage estimates per sample.


antonioggsousa/micrUBIfuns documentation built on Nov. 14, 2020, 1:40 a.m.