Description Usage Arguments Value
View source: R/helpers_adjust_batch.R
Diagnostic visualization for adj_batch function
1 2 | diagnostic_adjust_batch(feature_abd, feature_abd_adj, var_batch, gamma_hat,
gamma_star, output)
|
feature_abd |
original feature-by-sample matrix of abundances (proportions or counts). |
feature_abd_adj |
feature-by-sample matrix of batch-adjusted feature abundances, with covariate effects retained and scales consistent with original abundance matrix. |
var_batch |
the batch variable (should be a factor). |
gamma_hat |
estimated per feature-batch gamma parameters. |
gamma_star |
shrinked per feature-batch gamma parameters |
output |
output file name |
(invisbly) the ggplot2 plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.