getReference {propr}R Documentation

Get Reference to Approximate CLR

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

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.


[Package propr version 4.2.6 Index]