comfam_shiny | R Documentation |
Provides an interactive visualization of batch or site effects using a Shiny application.
comfam_shiny(result, after = FALSE)
result |
A list derived from |
after |
A boolean variable indicating whether the batch effect diagnostic occurs before or after harmonization (default: |
When this function is called, it starts a Shiny application in the user's default web browser. Execution is blocked until the app is closed.
This function does not return a value. It launches a Shiny app.
result_lm <- visual_prep(type = "lm", features = colnames(adni)[43:53],
batch = "manufac", covariates = c("AGE", "SEX", "DIAGNOSIS"),
df = head(adni, 500), cores = 1)
if (interactive()) {
comfam_shiny(result = result_lm)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.