View source: R/longFunctions.R
This function runs the main code for fitting a model that compares more than one curve through time.
1 2 3 |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.