aldex.cor: Correlate CLR Data with a Continuous Measurement

Description Usage Arguments Value

View source: R/7-aldex2propr.R

Description

This function uses the Monte Carlo instances from an aldex.clr object to correlate each log-ratio transformed feature vector with a continuous numeric variable. See lr2cor.

Usage

1

Arguments

clr

An aldex.clr object.

conditions

A numeric vector of a continuous variable.

...

Arguments passed to cor.test.

Value

Returns a data.frame of the average correlation statistic (e.g., r) and p-value (p) for each log-ratio transformed feature, with FDR appended as the BH column.


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