Description Usage Arguments Value Examples

View source: R/generate_parameter_wrapper.R

Compute ranking of biomarkers by sorting t-test p-values

1 | ```
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.

1 2 3 4 5 | ```
set.seed(1234)
data(simpleArray)
rank_ttest(Y = simulated_array,
A = simulated_treatment,
W = rep(1, length(A)))
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.