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,unit

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")

hiplot/animalcules documentation built on March 1, 2021, 12:04 a.m.