Description Usage Arguments Examples
View source: R/custom_cosinor.R
Fits a cosinor model and carries out ANOVA using raw coefficients. Then fits a cosinor model with additonal sine and cosine terms with a different period. ANOVA tests are carried out on the more complex model as well as directly comparing the two models.
1 2 3 4 5 6 7 8 9 | MultiCosinorTest(
genename,
dataset,
timelag = 6,
period.1 = 24,
period.2 = 12.4,
save = TRUE,
path = NULL
)
|
genename |
The name of a gene intended for plotting. Must be a string. |
dataset |
A transcriptomics dataset. First columns should be gene names. All other columns should be expression levels. |
timelag |
The value of time for which observations begin. Defaults to 6. |
period.1 |
The period of the simple Cosinor Model. |
period.2 |
The period of the additional cosinor terms in the more complex model. |
save |
Logical. If TRUE then the ANOVA test results will be saved to three csv files. |
path |
The directory to be used for saving ANOVA results to. Only used if save == TRUE Uses theprovided genename appended with '_cosinor_tests' if this argument is not specified. |
1 | MultiCosinorTest("comp100000_c0_seq2", Laurasmappings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.