glmerApply: Fit a glmer model for an individual gene

Description Usage Arguments Value

View source: R/glmmSeq.R

Description

Fit a glmer model for an individual gene

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
glmerApply(
  geneList,
  fullFormula,
  data,
  control,
  modelData,
  designMatrix,
  offset,
  ...
)

Arguments

geneList

List with gene expression and dispersion

fullFormula

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

data

The sample data or metadata.

control

the glmer control (default = glmerControl(optimizer = "bobyqa")). For more information see lme4::glmerControl().

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::glmer().

...

Other parameters to pass to lme4::glmer()

Value

Returns a GlmmSeq object with results for gene-wise general linear mixed models


glmmSeq documentation built on March 30, 2021, 5:12 p.m.