View source: R/helpers_adjust_batch.R
construct_ind | R Documentation |
Create indicator matrices for which feature/batch/samples to adjust. This is relevant for zero_inflation is TRUE and only non-zero values are adjusted.
construct_ind(feature_abd, n_batch, design, zero_inflation)
feature_abd |
feature-by-sample matrix of abundances (proportions or counts). |
n_batch |
number of batches in the data. |
design |
design matrix. |
zero_inflation |
zero inflation flag. |
list of indicator matrices needed by fitting in adjust_batch.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.