Calculates the centered log-ratio transformation.

Description

Provided for backend use.

Usage

1
proprCLR(X, check = FALSE)

Arguments

X

A data.frame or matrix. A "count matrix" with subjects as rows and features as columns.

check

A logical. If TRUE, function first checks for negative and NA values.

Value

A matrix. Returns the centered log-ratio transformation of X.