transformation: Common Transformations

transformationR Documentation

Common Transformations

Description

Common Transformations

Usage

getProportions(x)

getCLR(x)

Arguments

x

phyloseq object

Details

Common transformation in microbiome like proportions, clr.

getProportions convert counts to relative abundance.

getCLR convert counts to centred log transform 'clr'

Value

Transformed phyloseq

Author(s)

Sudarshan A. Shetty

References

Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils

Examples

library(biomeUtils)
data("FuentesIliGutData")
ps.rel <- getProportions(FuentesIliGutData)
ps.clr <- getCLR(FuentesIliGutData)


RIVM-IIV-Microbiome/biomeUtils documentation built on July 20, 2023, 10:29 a.m.