Learn R Programming

glmmSeq (version 0.2.0)

lmerApply: Fit an lmer model for an individual gene

Description

Fit an lmer model for an individual gene

Usage

lmerApply(
  geneList,
  fullFormula,
  data,
  control,
  modelData,
  designMatrix,
  offset,
  ...
)

Value

Returns a list of results for gene-wise linear mixed models

Arguments

geneList

List with gene expression and dispersion

fullFormula

the model formula. For more information of formula structure see lme4::glmer()

data

The sample metadata.

control

the lmer control (default = lmerControl()). For more information see lme4::lmerControl().

modelData

Expanded design matrix

designMatrix

The design matrix

offset

this can be used to specify an a priori known component to be included in the linear predictor during fitting. For more information see lme4::lmer().

...

Other parameters to pass to lme4::lmer()