Description Usage Arguments Value Examples
View source: R/cosinor_functions.R
Fits cosinor models to transcriptomics data and plots the best-fitting models using ggplot2.
1 2 3 4 5 6 7 8 9 10 11 |
dataset |
A transcriptomics dataset. First columns should be gene names. All other columns should be expression levels. |
period |
The period of rhythmicity which is being tested for. Defaults to 24 (circadian). |
timelag |
The value of time for which observations begin. Defaults to 6. |
threshold |
Set significance value for which genes are considered significant and thus plotted. Defaults to 6e-07. |
adj |
String. p-value adjustment. Defaults to 'bonferonni'. 'none' is also supported. |
progress |
Logical. If TRUE then a loading bar will be printed to denote progress. |
save |
Logical. If TRUE, saves plots to working directory. Defaults to FALSE. |
print |
Logical. If TRUE renders significant genes in the plot viewer. Defaults to TRUE. |
df |
Logical. If TRUE a dataframe containing the results of the cosinor analysis will be returned. Defaults to TRUE. |
Prints or saves ggplot2 object(s). Optionally returns dataframe containing gene name and p values from F-test ranking of cosinor models.
1 | cosinor_results <- CosinorAnalysis(Laurasmappings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.