fit_EB {MMUPHin} | R Documentation

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

### Description

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

### Usage

    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.

[Package MMUPHin version 1.0.0 Index]