clr: Centered log-ratio functions

Description Usage Arguments

View source: R/normalization.R

Description

Centered log-ratio functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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. 1, 2018, 2:12 p.m.