relative.abundance: Relative abundance

Description Usage Arguments Value Author(s) References Examples

View source: R/relative.abundance.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/HITChipDB documentation built on June 7, 2020, 8:25 a.m.