View source: R/discrete_association.R
discrete_test | R Documentation |
Performs t-tests on a matrix of binary features and a vector y.
discrete_test(X, y, W = NULL)
X |
n x m matrix of binary features (missing values are allowed). |
y |
length n vector of numerical values (missing values are allowed). |
W |
n row matrix of confounders passed to run_lm_stats_limma. |
A table with the following columns:
feature: the column names of X.
effect_size: an estimate of the difference between groups.
t.stat: the t-statistic associated with the test on group differences.
p.value: the p-value of the t-statistic.
q.value: the multiple hypothesis corrected p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.