View source: R/helpers_adjust_batch.R
add_back_covariates | R Documentation |
Add back covariate effects to batch-corrected feature abundance data
add_back_covariates(adj_data, l_stand_feature, l_ind)
adj_data |
feature-by-sample matrix of batch-adjusted feature abundances (but without covariate effects), as returned by relocate_scale. |
l_stand_feature |
list of per-feature standardization fits, as returned by fit_stand_feature. |
l_ind |
list of indicator matrices, as returned by construct_ind. |
feature-by-sample matrix of batch-adjusted feature abundances with covariate effects retained.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.