sad: Modelling species abundance distribution of ASV/OTU following...

View source: R/sad.R

sadR Documentation

Modelling species abundance distribution of ASV/OTU following Poisson distribution

Description

Modelling species abundance distribution of ASV/OTU following Poisson distribution

Usage

sad(x, taxa_are_rows = FALSE)

Arguments

x

A data frame representing a ASV/OTU table with raw counts or phyloseq object.

taxa_are_rows

A logical indicating if OTU are rows

Value

A data frame of species abundance distribution

Examples

df <- data.frame(x=seq(0,10), y = seq(11,21))
sad(df)


Ebedthan/coremicrobiota documentation built on May 2, 2023, 3:25 p.m.