adjust_EB: Perform batch adjustment on standardized feature abundances,...

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

Perform batch adjustment on standardized feature abundances, based on EB shrinked per-batch location and scale parameters

Usage

1
2
adjust_EB(s_data, l_params_shrink, l_stand_feature, batchmod, n_batch,
  l_ind)

Arguments

s_data

feature-by-sample matrix of standardized abundances.

l_params_shrink

list of shrinked parameters, as returned by fit_shrink.

l_stand_feature

list of per-feature standardization fits, as returned by fit_stand_feature.

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.

Value

feature-by-sample matrix of batch-adjusted feature abundances.


MMUPHin documentation built on April 9, 2021, 6:01 p.m.