testInteract: This function runs the main code for fitting a model that...

Description Usage Arguments

View source: R/longFunctions.R

Description

This function runs the main code for fitting a model that compares more than one curve through time.

Usage

1
2
3
testInteract(tempDat, timeDegree = 2, fullTimes, fullCats, useW = TRUE,
  refCat = NULL, groupByGene = FALSE, randEffect = 0,
  testBaseline = TRUE, sinusoid = FALSE, period = 2 * pi)

Arguments

tempDat

The data to be analyzed

timeDegree

either 1, 2 or 3 for linear, quadratic or cubic models

fullTimes

A vector specifying all of the times found in the study

fullCats

A vector specifying all of the categories found in the study

useW

A boolean that determines whether or not the posterior variance of each protein estimate should be used to weight the observations

refCat

A string that specifies the reference category. Must be a string, not a factor!

groupByGene

A boolean that specifies whether timepoints are grouped by genes or proteins

randEffect

takes 0 for no random effects. 1 for a random intercept and 2 for a random slope and intercepts model

sinusoid

Boolean variable that supercedes timeDegree forcing a sinusoidal time structure


ColtoCaro/compMS documentation built on March 13, 2020, 10:11 a.m.