clr: Centered log-ratio functions

View source: R/sparcc.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)


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.