R: Calculates the additive log-ratio transformation.

proprALR {propr} | R Documentation

## Calculates the additive log-ratio transformation.

### Description

Provided for backend use.

### Usage

    proprALR(X, ivar, check = FALSE)

### Arguments

`X` | A data.frame or matrix. A "count matrix" with subjects as rows and features as columns.
`ivar` | A numeric scalar. Specifies feature to use as reference for additive log-ratio transformation.
`check` | A logical. If TRUE, function first checks for negative and NA values.

### Value

A matrix. Returns the additive log-ratio transformation of `X`.

[Package propr version 4.2.6 Index]