Description Usage Arguments Details Value Examples
Obtain the centered log ratio transformation of compositional data.
1 | getCLR(dat)
|
dat |
n x p matrix of numerical variables. For microbiome data, n: sample size, p: number of taxa |
A pseudocount is added to all taxa if zero values exist. A pseudocount of 0.01 is added if "dat" is read counts (rarefied or not), and a pseudocount that is 0.01 times the smallest nonzero relative abundances is added if "dat" is already proportions.
n x p matrix of the log-ratio transformed data.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.