diversities: Get alpha diversity

Description Usage Arguments Value Examples

View source: R/diversities.R

Description

Get alpha diversity

Usage

1
diversities(counts_table, index = "all", zeroes = TRUE)

Arguments

counts_table

A dataframe with organism x sample

index

One of inverse_simpson,gini_simpson,shannon,fisher,coverage

zeroes

A boolean for whether to ignore zero values

Value

A list of alpha diversity

Examples

1
diversities(matrix(seq_len(12), nrow = 3),index="shannon")

animalcules documentation built on Nov. 8, 2020, 6:47 p.m.