noncore_abundance {microbiome}R Documentation

Non-Core Abundance Index

Description

Calculates the noncore_abundance community index.

Usage

noncore_abundance(x, detection = 0.1/100, prevalence = 50/100)

Arguments

x

phyloseq-class object

detection

Detection threshold for absence/presence (strictly greater by default).

prevalence

Prevalence threshold (in [0, 1]; strictly greater by default)

Details

The noncore_abundance index gives the relative proportion of rare species (ie. those that are not part of the core microbiota) in the interval [0,1]. This is the complement (1-x) of the core abundance. The rarity function provides the abundance of the least abundant taxa within each sample, regardless of the population prevalence.

Value

A vector of indices

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

See Also

core_abundance, rarity, diversity

Examples

data(dietswap)
d <- noncore_abundance(dietswap, detection=0.1/100, prevalence=50/100)

[Package microbiome version 1.0.2 Index]