View source: R/barebonesCoNet.R
| clr | R Documentation | 
In the CLR transform, each entry is divided by the geometric mean of its sample and then the logarithm is taken.
clr( abundances, minocc = 0, pseudocount = 1, scale.factor = 1, omit.zeros = FALSE )
abundances | 
 a matrix with taxa as rows and samples as columns  | 
minocc | 
 prevalence filter; ignored if 0 or below  | 
pseudocount | 
 zero replacement value; should be above 0  | 
scale.factor | 
 scaling factor; abundances will be multiplied with this factor  | 
omit.zeros | 
 if TRUE, ignore pseudocount and compute clr transform only on non-zero elements  | 
When omit.zeros is set to true, the default behaviour of clr in the compositions package when applied column-wise is reproduced.
clr-transformed matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.