SpiecEasi (version 1.0.2)

clr: Centered log-ratio functions

Description

Centered log-ratio functions

Usage

clr(x.f, ...)

# S3 method for default clr(x.f, base = exp(1), tol = .Machine$double.eps, ...)

# S3 method for matrix clr(x.f, mar = 2, ...)

# S3 method for data.frame clr(x.f, mar = 2, ...)

Arguments

x.f

input data

...

pass through arguments

base

base for log transformation

tol

tolerance for a numerical zero

mar

margin to apply the transformation (rows: 1 or cols: 2)