rank_ttest {adaptest} | R Documentation |
Compute ranking of biomarkers by sorting t-test p-values
rank_ttest(Y, A, W)
Y |
(numeric vector) - continuous or binary biomarkers outcome variables |
A |
(numeric vector) - binary treatment indicator: |
W |
(numeric vector, numeric matrix, or numeric data.frame) - matrix of baseline covariates where each column corrspond to one baseline covariate and each row correspond to one observation. |
an integer vector
containing ranks of biomarkers.
set.seed(1234) data(simpleArray) rank_ttest(Y = simulated_array, A = simulated_treatment, W = rep(1, length(A)))