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
.
aldex.cor(clr, conditions, ...)
An aldex.clr
object.
A numeric vector of a continuous variable.
Arguments passed to cor.test
.
Returns a data.frame of the average
correlation statistic (e.g., r
) and
average p-value (p
) for each feature
across all Monte Carlo instances. Average
FDR provided by BH
column.