This function correlates each log-ratio transformed feature vector with a continuous numeric variable.
lr2cor(lr, conditions, ...)
A data.frame. A log-ratio transformed counts matrix.
A numeric vector of a continuous variable.
Arguments passed to cor.test
.
Returns a data.frame of the correlation
statistic (e.g., r
) and p-value (p
)
for each log-ratio transformed feature.
FDR provided by BH
column.