Description Usage Arguments Value Examples
View source: R/cosinor_functions.R
Fits a cosinor model and plots the residuals for multiple genes in a dataset.
1 2 3 4 5 6 7 8 |
dataset |
A transcriptomics dataset. First columns should be gene names. All other columns should be expression levels. |
timelag |
Shifts the plot to earlier in time. |
period |
The period of rhythmicity which is being tested for. Defaults to 24 (circadian). |
print |
Logical. If TRUE renders plot in the plot viewer. Defaults to TRUE |
save |
Logical. If TRUE, saves plot to working directory. Defaults to FALSE. |
path |
The directory to be used for saving plots to. Uses the working directory by default. Not used if save=FALSE |
Prints or saves ggplot2 object(s)
1 | CosinorResidualDatasetPlot(Laurasmappings[1 : 5, ])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.