Description Usage Arguments Value
View source: R/helpers_adjust_batch.R
A posteriori shrink per-batch location and scale parameters towards their EB priors
| 1 | fit_shrink(s_data, l_params, batchmod, n_batch, l_ind, control)
 | 
| s_data | feature-by-sample matrix of standardized abundances. | 
| l_params | list of parameter fits, as returned by fit_EB. | 
| 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. | 
| control | list of control parameters (passed on to it_sol) | 
list of shrinked per-batch location and scale parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.