relative.abundance: relative.abundance

Description Usage Arguments Value Author(s) References Examples

View source: R/diversity.R

Description

Estimate relative abundance for each phylotype in each sample with a given threshold '

Usage

1
relative.abundance(dat, det.th = 0)

Arguments

dat

data matrix (phylotypes x samples) in original (non-log) scale

det.th

detection threshold.

Value

Vector containing relative proportions for each phylotype in each sample

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
data(peerj32)
  relab <- relative.abundance(10^t(peerj32$microbes), det.th = 0)

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.