fit_EB: Parametric estimation of per-batch location and scale...

Description Usage Arguments Value

View source: R/helpers_adjust_batch.R

Description

Parametric estimation of per-batch location and scale parameters, and Empirical Bayes estimation of their priors

Usage

1
fit_EB(s_data, l_stand_feature, batchmod, n_batch, l_ind)

Arguments

s_data

feature-by-sample matrix of standardized abundances.

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

list of parameter estimations.


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