clr: Centered log-ratio functions

View source: R/normalization.R

clrR Documentation

Centered log-ratio functions

Description

Centered log-ratio functions

Usage

clr(x.f, ...)

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

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

## S3 method for class '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)


zdk123/SpiecEasi documentation built on Oct. 20, 2023, 6:49 a.m.