lmm: linear mixed model

View source: R/lmm.R

lmmR Documentation

linear mixed model

Description

Comput the linear mixed model (lmm) statistics for a PDX batch

Usage

lmm(data, log.volume)

Arguments

data

a data.frame containing a batch data

log.volume

FALSE if volume is raw, TRUE if volume is in log

Details

The input data.frame (data) must contain these columns: 'model.id', 'volume', 'time', 'exp.type'. Lower value from lmm function indicates better response.

Value

Returns a fit object

Examples

data(repdx)
data <- getExperiment(repdx, batch = "P1")$model
lmm(data, log.volume=FALSE)

data3 <- getExperiment(repdx, batch = "P3")$model
lmm(data3, log.volume=FALSE)


bhklab/Xeva documentation built on Nov. 12, 2022, 5:38 a.m.