Learn R Programming

propr (version 3.1.8)

proprALR: 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.