Description Usage Arguments Value Examples
View source: R/cosinor_functions.R
Fits a cosinor model to a gene and plots the residuals.
1 2 3 4 5 6 7 8 9 |
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 |
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 | CosinorResidualPlot('comp100002_c0_seq2', Laurasmappings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.