Description Usage Arguments Value
View source: R/helpers_adjust_batch.R
Relocate and scale feature abundances to correct for batch effects, given shrinked per-batch location and scale parameters
1 | relocate_scale(s_data, l_params_shrink, batchmod, n_batch, l_ind)
|
s_data |
feature-by-sample matrix of standardized abundances. |
l_params_shrink |
list of shrinked parameters, as returned by fit_shrink. |
batchmod |
design matrix for batch variables. |
n_batch |
number of batches in the data. |
l_ind |
list of indicator matrices, as returned by construct_ind. |
feature-by-sample matrix of batch-adjusted feature abundances (but without covariate effects).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.