Perform_HTMMIOW | R Documentation |
This function performs HT-MMIOW on user-provided exposure, outcome, confounder, and mediator data.
Perform_HTMMIOW( exposure, outcome, confounder = NULL, mediator, umapcomponents = 2, B = 2000 )
exposure |
vector of exposure variable |
outcome |
vector of outcome variable |
confounder |
matrix of relavant covariates |
mediator |
matrix of integers that represent abundance |
umapcomponents |
number of components for UMAP to reduce to |
B |
number of replicates for hypothesis test |
A list of observed test statistic, p-value, and test statistics under the null hypothesis
Perform_HTMMIOW(exposure = sim_data$sim_exposure, outcome = sim_data$sim_outcome, mediator = sim_data$sim_microbiome, umapcomponents = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.