getReference: Get Reference to Approximate CLR

Description Usage Arguments Value

View source: R/8-get.R

Description

This function finds the reference that is most proportional to the geometric mean of the samples. Using this reference for an alr-transformation will permit an analysis that resembles that of a clr-transformation, but arguably with greater interpretability.

Usage

1
getReference(counts, alpha = NA)

Arguments

counts

A data.frame or matrix. A "count matrix" with subjects as rows and features as columns. Note that this matrix does not necessarily have to contain counts.

alpha

A double. See vignette for details. Leave missing to skip Box-Cox transformation.

Value

A reference as a character or integer.


propr documentation built on Dec. 16, 2019, 9:30 a.m.