diversities: Get alpha diversity

View source: R/diversities.R

diversitiesR Documentation

Get alpha diversity

Description

Get alpha diversity

Usage

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

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


compbiomed/animalcules documentation built on Feb. 7, 2024, 12:13 p.m.