getGeneralizedGaudermanDataFrame {LoBrA}R Documentation

Create Peak Matrices for Generalized 'Gauderman' linear mixed effect regression (LMER) Model with parameterized Times

Description

Create Peak Matrices for Generalized 'Gauderman' linear mixed effect regression (LMER) Model with parameterized Times

Usage

getGeneralizedGaudermanDataFrame(
  peakmatrix,
  sampleIds,
  classes,
  center,
  timeperiod,
  gaudermanRange,
  k
)

Arguments

peakmatrix

Peak matrix to be converted.

sampleIds

Ids of samples in the matrix

classes

Classes of samples

center

Time point that corresponds to the center time t0. The algorithm will test whether there is a significant difference between the groups at this point.

timeperiod

defines the time period or segment, in the spline to be tested. Note, a 3 break point spline has 4 segments.

gaudermanRange

range to be tested for a significant difference between the groups.

k

break points for the generalized 'Gauderman' spline model.

Value

Return the new peak matrix data frame for this peak.


[Package LoBrA version 1.0 Index]