baElicitFitMix: Fit mixed effect model to evaluate batch effect

View source: R/basim_tools.R

baElicitFitMixR Documentation

Fit mixed effect model to evaluate batch effect

Description

Fit mixed effect model to evaluate batch effect

Usage

baElicitFitMix(dat, fml, des_mu = 1, nbs = 1000)

Arguments

dat

existing experiment data

fml

mixed model formula that has batch factor with random effect

des_mu

design vector for obtaining mean. By default, this will be the intercept

nbs

number of bootstraps

Value

A matrix with 3 columns and nbs rows. The columns correspond to 1) standard deviation of the batch effect, 2) standard deviation of the random error, and 3) mean


olssol/cava documentation built on Aug. 30, 2023, 2:01 a.m.