comfam_shiny {ComBatFamQC} | R Documentation |
Batch Effect Interactive Visualization
Description
Provides an interactive visualization of batch or site effects using a Shiny application.
Usage
comfam_shiny(result, after = FALSE)
Arguments
result |
A list derived from |
after |
A boolean variable indicating whether the batch effect diagnostic occurs before or after harmonization (default: |
Details
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.
Value
This function does not return a value. It launches a Shiny app.
Examples
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)
}
[Package ComBatFamQC version 1.0.6 Index]